[Bug 26788] [XPath30] XQuery-only errors in XPath 3.0 specification, like XQST0134

https://www.w3.org/Bugs/Public/show_bug.cgi?id=26788

--- Comment #2 from Jonathan Robie <jonathan.robie@gmail.com> ---
(In reply to Jonathan Robie from comment #1)
> Nice catch.
> 
> I can make sure that this does not appear in XPath 3.1:
> 
> * err:XQST0134: XQuery 3.0 does not support the namespace axis.
> 
> I don't think we can change the names of error conditions that have appeared
> in a Recommendation now. We should discuss how to handle 3.0 errata in a
> telcon.

In making this change, I realized that this occurs in the context of the
abbreviated syntax, where the default axis is child.  

The text occurs here:

http://www.w3.org/TR/xpath-30/#abbrev

Namespace nodes can be found only on the namespace axis, never on the child
axis or the attribute axis, so what is the correct behavior for XPath in this
case, in a host language that supports the namespace axis?

Saxon XSLT treats this as a warning, saying that the child axis will never
return any namespace nodes.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.

Received on Tuesday, 30 September 2014 21:29:38 UTC