[Bug 20261] New: [Ser 3.0] Usability problem with XHTML 5.0 prefix stripping

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

            Bug ID: 20261
           Summary: [Ser 3.0] Usability problem with XHTML 5.0 prefix
                    stripping
    Classification: Unclassified
           Product: XPath / XQuery / XSLT
           Version: Last Call drafts
          Hardware: PC
                OS: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Serialization 3.0
          Assignee: zongaro@ca.ibm.com
          Reporter: mike@saxonica.com
        QA Contact: public-qt-comments@w3.org

Bullet 4 in the second bullet list in section 6 states, inter alia:

It is a serialization error [err:SERE0020] if the element node has a namespace
node for the default namespace whose value is not equal to the namespace URI of
the element node.

This seems to imply that it is impossible to serialize the following perfectly
reasonable document:

<html xmlns="http://www.w3.org/1999/xhtml">
   <head><title>Heading</title></head>
   <body>
     <div>
       <s:svg xmlns:s="http://www.w3.org/2000/svg" version="1.1">
          <s:circle cx="100" cy="50" r="40" stroke="black" 
              stroke-width="2" fill="red"/>
       </s:svg>
    </div>
   </body>
</html>

because the svg element violates this rule. Surely this is not intended?

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

Received on Thursday, 6 December 2012 09:21:59 UTC