<?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>1416</bug_id>
          
          <creation_ts>2005-05-13 20:31:59 +0000</creation_ts>
          <short_desc>[XQuery] Specification of XQuery encoding in prolog</short_desc>
          <delta_ts>2005-06-10 18:54:37 +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="Michael Rys">mrys</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>3346</commentid>
    <comment_count>0</comment_count>
    <who name="Michael Rys">mrys</who>
    <bug_when>2005-05-13 20:31:59 +0000</bug_when>
    <thetext>Based on our experience, it is problematic to provide an option to specify the 
encoding into the query expression. Most of the time, such expressions are 
written in a programming environment, where the environment determines the 
codepage (and thus encoding) of the query expressions. Providing users the 
ability to set the encoding in addition can lead to a large set of unintended 
bugs if the code-page of the programming environment is not aligned with the 
user specified encoding. 

We therefore request either

a. removal of the encoding specification
b. making it optional with clear guidance when it may be useful to provide it</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2729</commentid>
    <comment_count>1</comment_count>
    <who name="Don Chamberlin">chamberl</who>
    <bug_when>2005-06-10 16:59:32 +0000</bug_when>
    <thetext>The encoding declaration is already specified to be optional. On May 16, 2005, 
the Query Working Group decided to add the following sentences to Section 4.1 
of the XQuery specification in response to your comment:
&quot;The handling of an encoding declaration is implementation-dependent. If an 
implementation has a priori knowledge of the encoding of a query, it may use 
this knowledge and disregard the encoding declaration.&quot;

Please let us know whether you are satisfied with this response to your comment.
</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2736</commentid>
    <comment_count>2</comment_count>
    <who name="Michael Rys">mrys</who>
    <bug_when>2005-06-10 18:54:37 +0000</bug_when>
    <thetext>This is acceptable.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>