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

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