<?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>2697</bug_id>
          
          <creation_ts>2006-01-11 18:49:42 +0000</creation_ts>
          <short_desc>[Ser]  xml version not supported by serializer</short_desc>
          <delta_ts>2006-02-01 15:07:41 +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 1.0</component>
          <version>Candidate Recommendation</version>
          <rep_platform>All</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="Joanne Tong">joannet</reporter>
          <assigned_to name="Joanne Tong">joannet</assigned_to>
          
          
          <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>7781</commentid>
    <comment_count>0</comment_count>
    <who name="Joanne Tong">joannet</who>
    <bug_when>2006-01-11 18:49:42 +0000</bug_when>
    <thetext>The fourth paragraph in section 16.1 (XML Output Method) in XSLT 1.0 
specification reads:

&quot;The version attribute specifies the version of XML to be used for outputting 
the result tree. If the XSLT processor does not support this version of XML, 
it should use a version of XML that it does support. ...&quot;

The description of the version attribute in XSLT 2.0 section 20 reads:

&quot;The value of the version attribute provides the value of the version 
parameter to the serialization method. The set of permitted values, and the 
default value, are implementation-defined. A serialization error will be 
reported if the requested version is not supported by the implementation.&quot;

The serialization specification defines no such error code when the version 
requested is not supported by the serializer.

I can think of 3 possible solutions: 
1:  XML version value is silently ignored if not supported (align with XSLT 
1.0) 
2:  add a new error code in Serialization when the XML version value is not 
supported (align with XSLT 2.0) 
3:  add a sentence in Serialization that it&apos;s up to the host language whether 
an error is thrown if the XML version value is not supported. 

original comment raised in the members mailing list:
http://lists.w3.org/Archives/Member/w3c-xsl-wg/2005Oct/0048.html</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>7959</commentid>
    <comment_count>1</comment_count>
    <who name="Joanne Tong">joannet</who>
    <bug_when>2006-01-24 16:06:28 +0000</bug_when>
    <thetext>When the serializer encounters other serialization parameters that are not 
supported, the specification currently says:

encoding: recoverable by using UTF-8 or UTF-16 or signal err:SESU0007

method: both Serialization and XSLT 2.0 say &quot;the behavior in this case is not 
specified by this document.&quot;

normalization-form: serializer MUST signal err:SESU0011</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>8082</commentid>
    <comment_count>2</comment_count>
    <who name="Joanne Tong">joannet</who>
    <bug_when>2006-02-01 15:06:05 +0000</bug_when>
    <thetext>The XSL and XQuery working group decided on Feb 1, 2006 to accept option 2 in 
the suggested resolution.  A serialization error will be added to the 
specification.  The rationale is to align with other parameters, where an 
error is thrown if the parameter value is not supported by the serializer.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>