[Bug 20736] New: [XQ30] Namespace axis

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

            Bug ID: 20736
           Summary: [XQ30] Namespace axis
    Classification: Unclassified
           Product: XPath / XQuery / XSLT
           Version: Candidate Recommendation
          Hardware: PC
               URL: http://www.w3.org/TR/2013/CR-xquery-30-20130108/#abbre
                    v
                OS: Windows NT
            Status: NEW
          Severity: normal
          Priority: P2
         Component: XQuery 3.0
          Assignee: jonathan.robie@gmail.com
          Reporter: tim@cbcl.co.uk
        QA Contact: public-qt-comments@w3.org

In 3.3.5 Abbreviated Syntax we find:

"If the axis name is omitted from an axis step, the default axis is child, with
two exceptions: if the axis step contains an AttributeTest or
SchemaAttributeTest then the default axis is attribute; if the axis step
contains namespace-node() then the default axis is namespace.

Note:

In an implementation that does not support the namespace axis, an attempt to
access it always raises an error. Thus, an XQuery implementation will always
raise an error in this case, since XQuery does not support the namespace axis.
The namespace axis is deprecated as of XPath 2.0, but required in some
languages that use XPath, including XSLT."

What is the error code in this case?

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

Received on Tuesday, 22 January 2013 17:11:22 UTC