[Bug 26308] New: [xslt 3.0] true|false as synonymns for yes|no

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

[Bug 26308] New: [xslt 3.0] true|false as synonymns for yes|no

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

            Bug ID: 26308
           Summary: [xslt 3.0] true|false as synonymns for yes|no
           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]

In response to email discussion the XSL WG yesterday accepted a proposal to
allow the values true|false and 1|0 as synonymns for yes|no in XSLT attributes
that accept yes|no values.

There are two rationales for this:

(a) to allow boolean values to be used in AVTs and shadow attributes, for
example

<xsl:param name="terminate" as="xs:boolean"/>
<xsl:message terminate="{$terminate}"/>

<xsl:param name="streamable" as="xs:boolean" static="yes"/>
<xsl:mode _streamable="{$streamable}"/>

(b) consistency with XML Schema

This bug is being raised to record this decision.

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

Reply | Threaded
Open this post in threaded view
|

[Bug 26308] [xslt 3.0] true|false as synonymns for yes|no

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

Michael Kay <[hidden email]> changed:

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

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

Reply | Threaded
Open this post in threaded view
|

[Bug 26308] [xslt 3.0] true|false as synonymns for yes|no

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=26308

Abel Braaksma <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
                 CC|                            |[hidden email]
         Resolution|FIXED                       |---

--- Comment #1 from Abel Braaksma <[hidden email]> ---
There is a small, but possible compatibility issue with AVTs (not for static
attributes, as they would not compile).

The incompatibility is that an AVT with a wrong dynamic value would raise a
dynamic error for true|false or 0|1.  It is probably only an issue where a
rigorous testing framework is meant to test such situations and expect them to
fail, where in XSLT 3.0 they would now succeed.

Not a big compatibility issue, but we might want to mention it nevertheless.

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

Reply | Threaded
Open this post in threaded view
|

[Bug 26308] [xslt 3.0] true|false as synonymns for yes|no

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=26308

Abel Braaksma <[hidden email]> changed:

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

--- Comment #2 from Abel Braaksma <[hidden email]> ---
Closing the bug per the answer from Michael Kay in
https://lists.w3.org/Archives/Member/w3c-xsl-wg/2014Jul/0025.html (member
only), saying that for changes that resolve error-conditions, there is no need
to express the compatibility issues.

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

Reply | Threaded
Open this post in threaded view
|

[Bug 26308] [xslt 3.0] true|false as synonymns for yes|no

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=26308

Michael Kay <[hidden email]> changed:

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

--- Comment #3 from Michael Kay <[hidden email]> ---
The change has been applied to the spec.

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