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 6273 - [XQuery11] namespace-node()
Summary: [XQuery11] namespace-node()
Status: CLOSED FIXED
Alias: None
Product: XPath / XQuery / XSLT
Classification: Unclassified
Component: XQuery 3.0 (show other bugs)
Version: Working drafts
Hardware: PC Windows NT
: P2 normal
Target Milestone: ---
Assignee: Jonathan Robie
QA Contact: Mailing list for public feedback on specs from XSL and XML Query WGs
URL:
Whiteboard:
Keywords:
: 6923 6929 (view as bug list)
Depends on:
Blocks:
 
Reported: 2008-12-04 14:59 UTC by Michael Kay
Modified: 2013-06-19 07:33 UTC (History)
2 users (show)

See Also:


Attachments

Description Michael Kay 2008-12-04 14:59:05 UTC
This relates to the 3 December public WD.

The syntax introduces the construct NamespaceNodeTest ::= "namespace-node()", and gives its meaning. But the syntax is orphaned: KindTest has not been extended to allow it.

(Note also, this construct should be allowed in XPath as well as XQuery, since XPath can select namespace nodes using the namespace axis)
Comment 1 Michael Kay 2008-12-04 15:26:11 UTC
namespace-node() also needs to be added to the list of reserved function names in Appendix A.3; and this addition needs to be noted in a new Appendix listing backwards incompatibilities with XQuery 1.0 / XPath 2.0.

(specifically, if the default function namespace is http://f/, then a/namespace-node() now means a/child::namespace-node() (which is not a very useful thing to write) rather than a/child::{http://f/}namespace-node().)
Comment 2 Michael Kay 2009-05-20 19:46:56 UTC
*** Bug 6929 has been marked as a duplicate of this bug. ***
Comment 3 Michael Kay 2009-05-20 19:47:41 UTC
*** Bug 6923 has been marked as a duplicate of this bug. ***