<?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>29703</bug_id>
          
          <creation_ts>2016-06-23 10:14:01 +0000</creation_ts>
          <short_desc>[SER31] Bring the yes/no etc of the serialization-parameters schema in line with the way booleans are treated in XSLT&apos;s xsl:output</short_desc>
          <delta_ts>2016-07-08 08:07:17 +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>Serialization 3.1</component>
          <version>Candidate Recommendation</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Windows NT</op_sys>
          <bug_status>RESOLVED</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="Abel Braaksma">abel.braaksma</reporter>
          <assigned_to name="C. M. Sperberg-McQueen">cmsmcq</assigned_to>
          <cc>andrew_coleman</cc>
    
    <cc>mike</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>126819</commentid>
    <comment_count>0</comment_count>
    <who name="Abel Braaksma">abel.braaksma</who>
    <bug_when>2016-06-23 10:14:01 +0000</bug_when>
    <thetext>About two years ago, XSLT adopted a change for boolean-style attributes (yes/no, true/false etc) to all accept the logical values of &quot;yes&quot;, &quot;true&quot; and 1 and &quot;no&quot;, &quot;false&quot; and 0 respectively, which works better with shadow attributes and auto-generated stylesheets.

For instance, &lt;xsl:output omit-xml-declaration=&quot;false&quot; /&gt; or &lt;xsl:output standalone=&quot;0&quot; /&gt; are allowed.

The serialization spec, in particular the serialization-parameters schema, was never brought in line with this. I think we should, it is just odd that referencing an external document for your settings accepts different values than xsl:output and xsl:result-document.

The parameters this applies to are:
- indent
- omit-xml-declaration
- standalone
- undeclare-prefixes
- byte-order-mark
- include-content-type
- allow-duplicate-names</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>126888</commentid>
    <comment_count>1</comment_count>
    <who name="Michael Kay">mike</who>
    <bug_when>2016-07-05 15:46:25 +0000</bug_when>
    <thetext>The WG accepted the change.

Note: for the standalone property, XSLT 3.0 allows the values yes | no | true | false | 0 | 1 | omit, although the value in the serialized XML document must be yes | no | omit.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>126889</commentid>
    <comment_count>2</comment_count>
    <who name="Michael Kay">mike</who>
    <bug_when>2016-07-05 17:41:55 +0000</bug_when>
    <thetext>Correction, the value of standalone in the serialized XML must either be &quot;yes&quot; or &quot;no&quot; or absent.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>126926</commentid>
    <comment_count>3</comment_count>
    <who name="Andrew Coleman">andrew_coleman</who>
    <bug_when>2016-07-08 08:07:17 +0000</bug_when>
    <thetext>This change has been made and committed (Action A-649-01)</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>