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

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 UTC