<?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>1494</bug_id>
          
          <creation_ts>2005-06-14 10:43:53 +0000</creation_ts>
          <short_desc>[XQuery] encoding names</short_desc>
          <delta_ts>2005-08-29 22:08:43 +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 Kay">mike</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>2756</commentid>
    <comment_count>0</comment_count>
    <who name="Michael Kay">mike</who>
    <bug_when>2005-06-14 10:43:55 +0000</bug_when>
    <thetext>Section 4.1 doesn&apos;t say what constitutes a valid encoding name. It also uses
lower-case for example encodings such as utf-8, whereas the IANA specification
of these names defines their preferred representation as upper case.

Proposal: 

(1) add

&quot;The value of the string literal following the keyword &quot;encoding&quot; is an encoding
name, and follows the same rules as the EncName specified in an XML declaration
in [XML].

(2) change the examples to use IANA registered character set names as written:
UTF-8, UTF-16, US-ASCII in upper case

(3) (optionally) add a reference to the note (or a copy of the note) in the XML
spec that says processors &quot;should&quot; treat encoding names as case-insensitive (at
least in the case of IANA-registered names)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>5264</commentid>
    <comment_count>1</comment_count>
    <who name="Paul Cotton">pcotton</who>
    <bug_when>2005-07-28 15:18:56 +0000</bug_when>
    <thetext>The XML Query WG adopted the proposed solution at its Jul 13 meeting [1].

/paulc

[1] http://lists.w3.org/Archives/Member/w3c-xml-query-wg/2005Jul/0035.html 
(member only)</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>