[Bug 26525] New: [XSLT30] xsl:text/@expand-text

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

[Bug 26525] New: [XSLT30] xsl:text/@expand-text

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

            Bug ID: 26525
           Summary: [XSLT30] xsl:text/@expand-text
           Product: XPath / XQuery / XSLT
           Version: Working drafts
          Hardware: PC
                OS: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: XSLT 3.0
          Assignee: [hidden email]
          Reporter: [hidden email]
        QA Contact: [hidden email]

We made a decision not to allow text value templates within xsl:text.

But the rules for the attribute xsl:text/@expand-text seem unclear. We have
test cases cvt-019 and cvt-020 that suggest the value "no" is allowed, and the
value "yes" is prohibited, but there seems to be no rule in the spec to back
this up, other than a note in 5.8 which says

For an xsl:text element, the effective value of [xsl:]expand-text is always
"no".

But this doesn't seem to be backed up by any normative statement.

I would suggest adding to the specification of xsl:text:

* if the standard attribute expand-text is present, it must take the value
"no".

Note: if an ancestor of the xsl:text element has the attribute value
[xsl:]expand-text="yes", this does not cause text value templates to be
recognized in the xsl:text element.

Alternatively, we could reconsider our decision not to allow TVTs within
xsl:text. I have to say I can't see the point of the restriction.

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

Reply | Threaded
Open this post in threaded view
|

[Bug 26525] [XSLT30] xsl:text/@expand-text

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

Michael Kay <[hidden email]> changed:

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

--- Comment #1 from Michael Kay <[hidden email]> ---
The WG decided today that text value templates should apply to text node
children of xsl:text if an expand-text="yes" attribute is in scope, in the same
way as they apply to all other text nodes in the stylesheet.

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

Reply | Threaded
Open this post in threaded view
|

[Bug 26525] [XSLT30] xsl:text/@expand-text

Bugzilla from bugzilla@jessica.w3.org
In reply to this post by Bugzilla from bugzilla@jessica.w3.org
https://www.w3.org/Bugs/Public/show_bug.cgi?id=26525

Michael Kay <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |CLOSED

--- Comment #2 from Michael Kay <[hidden email]> ---
The changes have been applied.

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