[Bug 1494] New: [XQuery] encoding names

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 UTC