[Bug 20738] New: [XP30] Abbreviated axis steps

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

            Bug ID: 20738
           Summary: [XP30] Abbreviated axis steps
    Classification: Unclassified
           Product: XPath / XQuery / XSLT
           Version: Last Call drafts
          Hardware: PC
                OS: All
            Status: NEW
          Severity: minor
          Priority: P2
         Component: XPath 3.0
          Assignee: jonathan.robie@gmail.com
          Reporter: mike@saxonica.com
        QA Contact: public-qt-comments@w3.org

We say in 3.3.5: "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."

The word "contains" here is too broad. The axis step contains a predicate list,
and we are not interested in what the predicate list contains. We should say
"if the NodeTest is an AttributeTest..." etc.

(There is another problem with this section in that rule 3 concerns the
semantics of "//" which is not an abbreviated axis step; the rule is
misplaced.)

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

Received on Tuesday, 22 January 2013 19:15:41 UTC