- From: <bugzilla@farnsworth.w3.org>
- Date: Wed, 14 May 2008 10:25:05 +0000
- To: public-qt-comments@w3.org
- CC:
http://www.w3.org/Bugs/Public/show_bug.cgi?id=5687
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
constructor.
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