W3C home > Mailing lists > Public > public-qt-comments@w3.org > May 2013

[Bug 21968] [SER30] Empty elements with HTML 4.0 serialization

From: <bugzilla@jessica.w3.org>
Date: Fri, 10 May 2013 16:00:46 +0000
To: public-qt-comments@w3.org
Message-ID: <bug-21968-523-Ah2decPNjX@http.www.w3.org/Bugs/Public/>

--- Comment #1 from Henry Zongaro <zongaro@ca.ibm.com> ---
O'Neil, the first paragraph of section 7.1 states, in part

<<the HTML output method will not output an element differently from the XML
output method unless the element is to be serialized as an HTML element.  An
element node is serialized as an HTML element if:

. the expanded QName of the element has a null namespace URI, regardless of the
value of the requested HTML version, or

. the value of the requested HTML version is 5.0 or greater, and the element
node is in the XHTML namespace.>>

The intention was that, if the value of the version parameter is 4.0, only
elements that have a null namespace URI are recognized as empty elements.  In
the case of Serialization-html-3, the expected serialized result, which I've
copied below, reflects that.  For instance, the br element node is expected to
be serialized as <br/> rather than as <br>.


I am, of course, speaking for myself only, not on behalf of the XQuery and XSLT
working groups.

You are receiving this mail because:
You are the QA Contact for the bug.
Received on Friday, 10 May 2013 16:00:59 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 16:57:43 UTC