[Bug 22350] New: Serialization-html-23

https://www.w3.org/Bugs/Public/show_bug.cgi?id=22350

            Bug ID: 22350
           Summary: Serialization-html-23
    Classification: Unclassified
           Product: XPath / XQuery / XSLT
           Version: Candidate Recommendation
          Hardware: PC
                OS: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: XQuery 3 & XPath 3 Test Suite
          Assignee: oneil@saxonica.com
          Reporter: mike@saxonica.com
        QA Contact: public-qt-comments@w3.org

This test expects the output "<foo/>".

As far as I can see from reading the spec, the correct output is "<foo></foo>".

Specifically:

1. 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

2. If the element is to be serialized as an HTML element, but the local part of
the expanded QName is not recognized as the name of an HTML element, the
element MUST be output in the same way as a non-empty, inline element such as
span.

3. a serializer MUST serialize an HTML element that has no children, but whose
content model is not empty, using a pair of adjacent start and end element tags

-- 
You are receiving this mail because:
You are the QA Contact for the bug.

Received on Thursday, 13 June 2013 14:07:06 UTC