This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 5687 - K2-CopyNamespacesProlog-9
Summary: K2-CopyNamespacesProlog-9
Status: RESOLVED FIXED
Alias: None
Product: XML Query Test Suite
Classification: Unclassified
Component: XML Query Test Suite (show other bugs)
Version: unspecified
Hardware: PC Windows NT
: P2 normal
Target Milestone: ---
Assignee: Frans Englich
QA Contact: Mailing list for public feedback on specs from XSL and XML Query WGs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-05-14 10:25 UTC by Michael Kay
Modified: 2008-05-16 08:33 UTC (History)
0 users

See Also:


Attachments

Description Michael Kay 2008-05-14 10:25:05 UTC
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.
Comment 1 Frans Englich 2008-05-16 08:33:52 UTC
I haven't dug into the issue; corrected the baseline as suggested.