w3c / qtspecs

XSLT and XQuery Specifications - the source used to build the specs, and the errata
Other
30 stars 25 forks source link

[xp31] [xq31] The attributes axis references the parent accessor. #29

Closed rhdunn closed 2 years ago

rhdunn commented 3 years ago

The axes section (https://www.w3.org/TR/xpath-31/#axes) states;

the attribute axis contains the attributes of the context node, which are the nodes returned by the Section 5.11 parent Accessor DM31; the axis will be empty unless the context node is an element

This should reference the attributes selector (dm:attriibutes).

michaelhkay commented 2 years ago

Fixed in the draft 4.0 specification.