[Bug 1420] New: [FO] base-uri for collation uris

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

           Summary: [FO] base-uri for collation uris
           Product: XPath / XQuery / XSLT
           Version: Last Call drafts
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Functions and Operators
        AssignedTo: ashok.malhotra@oracle.com
        ReportedBy: mrys@microsoft.com
         QAContact: public-qt-comments@w3.org


If the collation is specified using a relative URI, it is assumed to be 
relative to the value of the base-uri property in the static context. 

We think that a different base is needed. For example, let's assume that a 
base URI is set to http://mydomain.org/CustomerOrders where I keep all my 
documents and that all collations are in http://collations.vendor.com/. 

If I write a query of the form:

for $i in doc("customers.xml")
where compare($i/name, "Doe", "English-AS-CS") = 0
return
  ... 

I would like the two relative URIs to resolve against their respective 
different bases.

Received on Friday, 13 May 2005 21:22:25 UTC