<?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>17502</bug_id>
          
          <creation_ts>2012-06-15 11:08:35 +0000</creation_ts>
          <short_desc>[XSLT 3.0] Allow use of external serialization parameters file</short_desc>
          <delta_ts>2013-02-12 21:39: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>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>
          
          
          <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>69083</commentid>
    <comment_count>0</comment_count>
    <who name="Michael Kay">mike</who>
    <bug_when>2012-06-15 11:08:35 +0000</bug_when>
    <thetext>We should allow xsl:output or xsl:result-document to refer to an external file of serialization parameters as defined in the Serialization 3.0 specification.

(Note: XQuery 3.0 does not say whether this file is retrieved at compile time or at run time. I think we should specify this one way or the other, since this has a bearing on interoperability.)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>82906</commentid>
    <comment_count>1</comment_count>
    <who name="Michael Kay">mike</who>
    <bug_when>2013-02-11 15:43:55 +0000</bug_when>
    <thetext>Note XQuery uses the name &quot;parameter-document&quot; for this purpose.

Note also xsl:output parameters are static and result-document parameters are dynamic, so users get a choice.

Action on editor to write up the detailed changes to implement this.

* New attribute parameter-document on xsl:output and xsl:result-document

* Value for xsl:output is a URI, resolved against the stylesheet base URI

* Value for xsl:result-document is an AVT whose effective value is a URI, resolved against the stylesheet base URI

* Need to define which takes priority:

- parameter-document wins over explicit attribute of result-document which wins over the named output format

* What about handling of absent/malformed parameter document?

- serialization error if malformed; document ignored if absent.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>83049</commentid>
    <comment_count>2</comment_count>
    <who name="Michael Kay">mike</who>
    <bug_when>2013-02-12 21:39:16 +0000</bug_when>
    <thetext>Changes applied as agreed (draft N).</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>