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 20738 - [XP30] Abbreviated axis steps
Summary: [XP30] Abbreviated axis steps
Status: CLOSED DUPLICATE of bug 20736
Alias: None
Product: XPath / XQuery / XSLT
Classification: Unclassified
Component: XPath 3.0 (show other bugs)
Version: Last Call drafts
Hardware: PC All
: P2 minor
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-22 19:15 UTC by Michael Kay
Modified: 2013-06-19 10:09 UTC (History)
0 users

See Also:


Attachments

Description Michael Kay 2013-01-22 19:15:39 UTC
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.)
Comment 1 Jonathan Robie 2013-01-30 20:54:57 UTC

*** This bug has been marked as a duplicate of bug 20736 ***