W3C home > Mailing lists > Public > public-qt-comments@w3.org > June 2005

[Bug 1494] New: [XQuery] encoding names

From: <bugzilla@wiggum.w3.org>
Date: Tue, 14 Jun 2005 10:43:56 +0000
To: public-qt-comments@w3.org
Cc:
Message-Id: <E1Di8tg-0004dF-E1@wiggum.w3.org>

http://www.w3.org/Bugs/Public/show_bug.cgi?id=1494

           Summary: [XQuery] encoding names
           Product: XPath / XQuery / XSLT
           Version: Last Call drafts
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: normal
          Priority: P2
         Component: XQuery
        AssignedTo: chamberl@almaden.ibm.com
        ReportedBy: mike@saxonica.com
         QAContact: public-qt-comments@w3.org


Section 4.1 doesn'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

"The value of the string literal following the keyword "encoding" 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 "should" treat encoding names as case-insensitive (at
least in the case of IANA-registered names)
Received on Tuesday, 14 June 2005 10:43:58 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 27 March 2012 18:14:38 GMT