W3C home > Mailing lists > Public > public-qt-comments@w3.org > March 2009

[Bug 6723] New: [Ser] No rule about empty <p> elements in HTML serialization

From: <bugzilla@wiggum.w3.org>
Date: Mon, 23 Mar 2009 12:32:20 +0000
To: public-qt-comments@w3.org
Message-ID: <bug-6723-523@http.www.w3.org/Bugs/Public/>
http://www.w3.org/Bugs/Public/show_bug.cgi?id=6723

           Summary: [Ser] No rule about empty <p> elements in HTML
                    serialization
           Product: XPath / XQuery / XSLT
           Version: Recommendation
          Platform: PC
        OS/Version: Windows NT
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Serialization
        AssignedTo: zongaro@ca.ibm.com
        ReportedBy: mike@saxonica.com
         QAContact: public-qt-comments@w3.org


This is from a post today by Matthias Branter on the x-query.com talk list.

There appears to be no rule in the HTML serialization spec that says empty
<div>, <p>, or <script> elements should be serialized as <div></div>, <p></p>,
etc, rather than <p/> or <div/>.

There isn't even a fallback rule, as there was in XSLT 1.0, that says "do what
the HTML specification says."

Should tackle this either with a specific rule about serializing these empty
(but not EMPTY) elements, or with a general rule that says elements in no
namespace should be serialized in accordance with the rules of the HTML
specification whenever possible.


-- 
Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
Received on Monday, 23 March 2009 12:32:28 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 27 March 2012 18:14:56 GMT