W3C home > Mailing lists > Public > public-qt-comments@w3.org > July 2014

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

From: <bugzilla@jessica.w3.org>
Date: Fri, 11 Jul 2014 09:42:40 +0000
To: public-qt-comments@w3.org
Message-ID: <bug-26308-523@http.www.w3.org/Bugs/Public/>
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: mike@saxonica.com
          Reporter: mike@saxonica.com
        QA Contact: public-qt-comments@w3.org

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.
Received on Friday, 11 July 2014 09:42:42 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 16:57:47 UTC