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 20830 - [XQ30] namespace nodes
Summary: [XQ30] namespace nodes
Status: RESOLVED FIXED
Alias: None
Product: XPath / XQuery / XSLT
Classification: Unclassified
Component: XQuery 3.0 (show other bugs)
Version: Candidate Recommendation
Hardware: Other All
: 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:
Depends on:
Blocks:
 
Reported: 2013-01-30 22:12 UTC by Tim Mills
Modified: 2013-03-19 16:25 UTC (History)
0 users

See Also:


Attachments

Description Tim Mills 2013-01-30 22:12:41 UTC
In 2. basics we find

"XQuery does not support the namespace axis and does not represent namespace bindings in the form of nodes."

I think this needs rewording.  It definitely appears that the XQuery specification _does_ use namespace nodes to represent namespace bindings, despite not supporting the namespace axis.  For example:

"By itself, a computed namespace constructor has no effect on in-scope namespaces, but if an element constructor's content sequence contains a namespace node, the namespace binding it represents is added to the elements in-scope namespaces."

This change might be as simple as omitting "and does not represent namespace bindings in the form of nodes."

I'd also argue that

"However, where other specifications such as [XSLT and XQuery Serialization 3.0] refer to namespace nodes, these nodes may be synthesized from the in-scope namespaces of an element node by interpreting each namespace binding as a namespace node."

is questionable.
Comment 1 Jonathan Robie 2013-03-19 16:25:07 UTC
I propose the following modification:

XQuery does not support the namespace axis and does not represent the namespace bindings of an element in the form of nodes.