[Bug 3689] [XSLT] step 12 of constructing complex content

http://www.w3.org/Bugs/Public/show_bug.cgi?id=3689

           Summary: [XSLT] step 12 of constructing complex content
           Product: XPath / XQuery / XSLT
           Version: Candidate Recommendation
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: normal
          Priority: P2
         Component: XSLT 2.0
        AssignedTo: mike@saxonica.com
        ReportedBy: joannet@ca.ibm.com
         QAContact: public-qt-comments@w3.org


Step 12 in constructing complex content reads

"If the newly constructed node is an element node, and if namespaces are
inherited, then each namespace node of the newly constructed element (including
any produced as a result of the namespace fixup process) is copied to each
descendant element of the newly constructed element, unless that descendant
element or an intermediate element already has a namespace node with the same
name (or absence of a name)"

>From the way this step is written, a namespace node is copied even when a
descendant element has xmlns="".

I think it should say:

"If the newly constructed node is an element node, and if namespaces are
inherited, then each namespace node of the newly constructed element (including
any produced as a result of the namespace fixup process) is copied to each
descendant element of the newly constructed element, unless that descendant
element or an intermediate element already has a namespace node with the same
name (or absence of a name), or that descendant element or an intermediate
element is in no namespace and the namespace node has no name."

Received on Friday, 8 September 2006 20:58:49 UTC