W3C home > Mailing lists > Public > public-qt-comments@w3.org > May 2008

[Bug 5687] K2-CopyNamespacesProlog-9

From: <bugzilla@farnsworth.w3.org>
Date: Wed, 14 May 2008 10:25:05 +0000
To: public-qt-comments@w3.org
Message-Id: <E1JwEAT-00027o-SG@farnsworth.w3.org>


           Summary: K2-CopyNamespacesProlog-9
           Product: XML Query Test Suite
           Version: unspecified
          Platform: PC
        OS/Version: Windows NT
            Status: NEW
          Severity: normal
          Priority: P2
         Component: XML Query Test Suite
        AssignedTo: andrew.eisenberg@us.ibm.com
        ReportedBy: mike@saxonica.com
         QAContact: public-qt-comments@w3.org

In the second part of test K2-CopyNamespacesProlog-9, I believe the
in-scope-prefixes for $n should include namespace2 and namespace3, that is, the
test results should be

<doc>namespace1 xml | namespace1 namespace2 namespace3 xml</doc>

Element e1 aquires these namespaces by virtue of the rules in 3.7.4:

# A namespace binding is created for each namespace declared in the current
element constructor by a namespace declaration attribute.

# 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

Note that these rules do not depend on namespace inheritance mode. The
namespaces could subsequently be lost if copy-namespaces were set to
no-preserve, but it is not.
Received on Wednesday, 14 May 2008 10:25:40 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 16:57:23 UTC