[Bug 10684] New: [XPath 2.1] Default collation does not apply when ordering xs:anyURI values.

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

           Summary: [XPath 2.1] Default collation does not apply when
                    ordering xs:anyURI values.
           Product: XPath / XQuery / XSLT
           Version: Member-only Editors Drafts
          Platform: PC
        OS/Version: Windows NT
            Status: NEW
          Severity: normal
          Priority: P2
         Component: XPath 2.1
        AssignedTo: jonathan.robie@redhat.com
        ReportedBy: oliver@cbcl.co.uk
         QAContact: public-qt-comments@w3.org


This also applies to XQuery 1.1

Section 2.1.1 (Static Context) contains the following definition:

[Definition: Default collation. This identifies one of the collations in
statically known collations as the collation to be used by functions and
operators for comparing and ordering values of type xs:string and xs:anyURI
(and types derived from them) when no explicit collation is specified.]

This should read

[Definition: Default collation. This identifies one of the collations in
statically known collations as the collation to be used by functions and
operators for comparing and ordering values of type xs:string (and types
derived from it) when no explicit collation is specified.]

as the codepoint collation is always used when comparing xs:anyURI values
(unless comparing them with strings).

-- 
Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.

Received on Wednesday, 22 September 2010 17:01:27 UTC