[Bug 1416] New: [XQuery] Specification of XQuery encoding in prolog

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

           Summary: [XQuery] Specification of XQuery encoding in prolog
           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: mrys@microsoft.com
         QAContact: public-qt-comments@w3.org


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

Received on Friday, 13 May 2005 20:32:02 UTC