[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 #6 from Michael Dyck <jmdyck@ibiblio.org> ---
(In reply to Jonathan Robie from comment #5)
> 
> I do not think that is the intended meaning of the text - neither XPath 1.0
> nor XPath 2.0 ever default to the namespace axis in abbreviated syntax.

Of course not: they don't have a syntactic context in which one would even
contemplate defaulting to the namespace axis. That is, they don't have 
NamespaceNodeTest. That was introduced in XPath/XQuery 3.0 (or technically,
XPath 2.1 / XQuery 1.1). And back then, the decision was that with a
NamespaceNodeTest, the axis does indeed default to the namespace axis (which
thus causes an error in impls of XPath that don't support the namespace axis,
and in all impls of XQuery). See Bug 9298, comment #2.

I'm pretty sure that decision wasn't subsequently overturned.

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

Received on Wednesday, 1 October 2014 02:26:53 UTC