Bug ID: 27132
Summary: [XSLT30] slight inconsistency in rewrite rules with
XP30 in 126.96.36.199 Streamability of path expressions
Product: XPath / XQuery / XSLT
Version: Last Call drafts
OS: Windows NT
Component: XSLT 3.0
Assignee: [hidden email] Reporter: [hidden email] QA Contact: [hidden email]
We say in that section:
The streamability analysis applies after the expansion of the //
pseudo-operator to /descendant-or-self::node()/, and after expanding .. to
parent::node(), @X to attribute::X, and an omitted axis to child::.
This would change attribute() to child::attribute() and namespace() to
child::namespace(). While the second is an error according to XP30, it is
believed that this error will be covered in an erratum (see also XT3 bug 27078
and XP3 bug 26788).
I think we should make this rule consistent with XP30 and say that attribute()
is expanded to attribute::attribute() and namespace() is expanded to
namespace::namespace() (or a NOTE to the same extend, like "omitted axes are
extended by the rules in [XP30]").
If we were to treat this rewrite rule literally, then a/attribute() would be
consuming and grounded, where it should be consuming and climbing.
You are receiving this mail because:
You are the QA Contact for the bug.