[Bug 27132] New: [XSLT30] slight inconsistency in rewrite rules with XP30 in 19.8.7.6 Streamability of path expressions

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

[Bug 27132] New: [XSLT30] slight inconsistency in rewrite rules with XP30 in 19.8.7.6 Streamability of path expressions

Bugzilla from bugzilla@jessica.w3.org
https://www.w3.org/Bugs/Public/show_bug.cgi?id=27132

            Bug ID: 27132
           Summary: [XSLT30] slight inconsistency in rewrite rules with
                    XP30 in 19.8.7.6 Streamability of path expressions
           Product: XPath / XQuery / XSLT
           Version: Last Call drafts
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: normal
          Priority: P2
         Component: XSLT 3.0
          Assignee: [hidden email]
          Reporter: [hidden email]
        QA Contact: [hidden email]

We say in that section:

<quote>
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::.
</quote>

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.

Reply | Threaded
Open this post in threaded view
|

[Bug 27132] [XSLT30] slight inconsistency in rewrite rules with XP30 in 19.8.7.6 Streamability of path expressions

Bugzilla from bugzilla@jessica.w3.org
https://www.w3.org/Bugs/Public/show_bug.cgi?id=27132

Michael Kay <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #1 from Michael Kay <[hidden email]> ---
The WG agreed the change and it has been implemented.

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