<?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>1270</bug_id>
          
          <creation_ts>2005-04-25 21:11:02 +0000</creation_ts>
          <short_desc>&quot;omit-xml-declaration&quot; should be implementation-defined</short_desc>
          <delta_ts>2005-05-04 23:48:58 +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>XQuery 1.0</component>
          <version>Last Call drafts</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Windows XP</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="Don Chamberlin">chamberl</reporter>
          <assigned_to name="Don Chamberlin">chamberl</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>3616</commentid>
    <comment_count>0</comment_count>
    <who name="Don Chamberlin">chamberl</who>
    <bug_when>2005-04-25 21:11:02 +0000</bug_when>
    <thetext>Appendix C.3 of the XQuery document states that the default value of the &quot;omit-
xml-declaration&quot; serialization parameter is &quot;yes&quot;. This means that an 
implementation is not allowed to provide an XML declaration in serialized 
output unless explicitly requested to do so. Providing an XML declaration is 
good practice, especially if an encoding other than UTF-8 or UTF-16 is used. 
The default value of this parameter should be changed to &quot;implementation-
defined&quot;. This change will be consistent with several other serialization 
parameters, and will allow each implementation to define its own policy with 
respect to XML declarations.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>3531</commentid>
    <comment_count>1</comment_count>
    <who name="Don Chamberlin">chamberl</who>
    <bug_when>2005-05-04 23:48:44 +0000</bug_when>
    <thetext>This suggestion was accepted and implemented by the Query working group on May 
4, 2005.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>