[Bug 1272] New: 3.7.4 In-scope Namespaces of a Constructed Element looks buggy

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

           Summary: 3.7.4 In-scope Namespaces of a Constructed Element looks
                    buggy
           Product: XPath / XQuery / XSLT
           Version: Last Call drafts
          Platform: PC
               URL: http://www.w3.org/TR/xquery/#id-ns-nodes-on-elements
        OS/Version: Windows XP
            Status: NEW
          Severity: normal
          Priority: P2
         Component: XQuery
        AssignedTo: chamberl@almaden.ibm.com
        ReportedBy: jonathan.robie@datadirect.com
         QAContact: public-qt-comments@w3.org


The description in 3.7.4 In-scope Namespaces of a Constructed Element looks buggy.

The following paragraph should be made conditional on copy-namespaces
mode.

    A namespace binding is created for each namespace that is declared
    in a namespace declaration attribute of an enclosing direct
    element constructor and not overridden by the current element
    constructor or an intermediate constructor.

The revised sentence reads as follows:

    If copy-namespaces mode specifies preserve, a namespace binding is
    created for each namespace that is declared in a namespace
    declaration attribute of an enclosing direct element constructor
    and not overridden by the current element constructor or an
    intermediate constructor.

The following note is no longer true, and should be removed.

    Note:

      Copy-namespaces mode does not affect the namespace bindings of a
      newly constructed element node. It applies only to existing
      nodes that are copied by a constructor expression.

Received on Tuesday, 26 April 2005 13:32:09 UTC