<?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>29272</bug_id>
          
          <creation_ts>2015-11-09 15:18:45 +0000</creation_ts>
          <short_desc>[SER31] Adaptive Serialization of items other than nodes</short_desc>
          <delta_ts>2015-11-18 13:38:16 +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="Christian Gruen">christian.gruen</reporter>
          <assigned_to name="C. M. Sperberg-McQueen">cmsmcq</assigned_to>
          <cc>abel.braaksma</cc>
    
    <cc>andrew_coleman</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>124133</commentid>
    <comment_count>0</comment_count>
    <who name="Christian Gruen">christian.gruen</who>
    <bug_when>2015-11-09 15:18:45 +0000</bug_when>
    <thetext>10.1 states that &quot;All serialization parameters, if set, will be passed down to the serialization method that is applied to each item in the supplied sequence.&quot;.

However, only nodes (excluding attributes and namespaces) are passed down to another method. If we assume serialization parameters to be ignored for all other items, this would e.g. mean that a specified &quot;encoding&quot; parameter would not be applied to strings, but to text nodes. Three other parameters that might need to be checked are &quot;byte-order-mark&quot;, &quot;normalization-form&quot; and &quot;use-character-maps&quot;.

Maybe the easiest solution would be to use the existing &quot;Text Output Method&quot; for outputting the strings resulting from the adaptive serialization rules?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>124253</commentid>
    <comment_count>1</comment_count>
    <who name="Andrew Coleman">andrew_coleman</who>
    <bug_when>2015-11-18 13:38:16 +0000</bug_when>
    <thetext>The WG voted to adopt the solution suggest by Christian (i.e. to use the existing Text output method to serialize strings) as detailed in the proposal in the mailing list:
https://lists.w3.org/Archives/Public/public-xsl-query/2015Nov/0035.html

This proposal also addresses bug 29273.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>