<?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>15877</bug_id>
          
          <creation_ts>2012-02-04 05:55:19 +0000</creation_ts>
          <short_desc>wrong serializer options</short_desc>
          <delta_ts>2012-02-06 16:34:27 +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>Functions and Operators 3.0</component>
          <version>Last Call drafts</version>
          <rep_platform>PC</rep_platform>
          <op_sys>All</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>minor</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Matthias Brantner">matthias.brantner</reporter>
          <assigned_to name="Michael Kay">mike</assigned_to>
          <cc>matthias.brantner</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>63663</commentid>
    <comment_count>0</comment_count>
    <who name="Matthias Brantner">matthias.brantner</who>
    <bug_when>2012-02-04 05:55:19 +0000</bug_when>
    <thetext>In Sec. 14.9.3 fn:serialize, the example demonstrating the serializer options is wrong.

It is

&lt;output:serialization-parameters&gt;
  &lt;output:omit-xml-declaration&gt;yes&lt;/output:omit-xml-declaration&gt;
&lt;/output:serialization-parameters&gt;

but should be

&lt;output:serialization-parameters
       xmlns:output=&quot;http://www.w3.org/2010/xslt-xquery-serialization&quot;&gt;
  &lt;output:omit-xml-declaration value=&quot;yes&quot;/&gt;
&lt;/output:serialization-parameters&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>63749</commentid>
    <comment_count>1</comment_count>
    <who name="Michael Kay">mike</who>
    <bug_when>2012-02-06 15:43:33 +0000</bug_when>
    <thetext>I have added a reference to this namespace both in this example and in the list of &quot;standard namespaces&quot; appearing near the start of the specification. Closing as editorial.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>63751</commentid>
    <comment_count>2</comment_count>
    <who name="Matthias Brantner">matthias.brantner</who>
    <bug_when>2012-02-06 16:00:12 +0000</bug_when>
    <thetext>(In reply to comment #1)
&gt; I have added a reference to this namespace both in this example and in the list
&gt; of &quot;standard namespaces&quot; appearing near the start of the specification. Closing
&gt; as editorial.
Just to make sure, the bug was not only about the namespace prefix. The serialization spec
requires a value to be given as attribute (with name value). The example contains the
value of the option in the content of the omit-xml-declaration.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>63757</commentid>
    <comment_count>3</comment_count>
    <who name="Michael Kay">mike</who>
    <bug_when>2012-02-06 16:34:27 +0000</bug_when>
    <thetext>Ah! - I missed that. Thanks. Now refixed.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>