<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://www.w3.org/Bugs/Public/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4"
          urlbase="https://www.w3.org/Bugs/Public/"
          
          maintainer="sysbot+bugzilla@w3.org"
>

    <bug>
          <bug_id>26308</bug_id>
          
          <creation_ts>2014-07-11 09:42:40 +0000</creation_ts>
          <short_desc>[xslt 3.0] true|false as synonymns for yes|no</short_desc>
          <delta_ts>2014-08-02 14:00:55 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>XPath / XQuery / XSLT</product>
          <component>XSLT 3.0</component>
          <version>Working drafts</version>
          <rep_platform>PC</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Michael Kay">mike</reporter>
          <assigned_to name="Michael Kay">mike</assigned_to>
          <cc>abel.braaksma</cc>
          
          <qa_contact name="Mailing list for public feedback on specs from XSL and XML Query WGs">public-qt-comments</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>108855</commentid>
    <comment_count>0</comment_count>
    <who name="Michael Kay">mike</who>
    <bug_when>2014-07-11 09:42:40 +0000</bug_when>
    <thetext>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

&lt;xsl:param name=&quot;terminate&quot; as=&quot;xs:boolean&quot;/&gt;
&lt;xsl:message terminate=&quot;{$terminate}&quot;/&gt;

&lt;xsl:param name=&quot;streamable&quot; as=&quot;xs:boolean&quot; static=&quot;yes&quot;/&gt;
&lt;xsl:mode _streamable=&quot;{$streamable}&quot;/&gt;

(b) consistency with XML Schema

This bug is being raised to record this decision.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>108931</commentid>
    <comment_count>1</comment_count>
    <who name="Abel Braaksma">abel.braaksma</who>
    <bug_when>2014-07-15 01:34:21 +0000</bug_when>
    <thetext>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.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>108952</commentid>
    <comment_count>2</comment_count>
    <who name="Abel Braaksma">abel.braaksma</who>
    <bug_when>2014-07-15 16:22:30 +0000</bug_when>
    <thetext>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.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>109787</commentid>
    <comment_count>3</comment_count>
    <who name="Michael Kay">mike</who>
    <bug_when>2014-08-02 14:00:55 +0000</bug_when>
    <thetext>The change has been applied to the spec.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>