[Bug 16565] New: [FO30] resolution of relative $collation URIs

https://www.w3.org/Bugs/Public/show_bug.cgi?id=16565

           Summary: [FO30] resolution of relative $collation URIs
           Product: XPath / XQuery / XSLT
           Version: Member-only Editors Drafts
          Platform: PC
        OS/Version: Windows NT
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Functions and Operators 3.0
        AssignedTo: mike@saxonica.com
        ReportedBy: tim@cbcl.co.uk
         QAContact: public-qt-comments@w3.org


F&O 3.0 changes the resolution of relative $collation URis from resolving
against the static base URI to resolving against the dynamic base URI.

Since collations and collation URIs are part of the static context, it seems
(to me at least) better to retain the previous behaviour.

Note that default collation declarations continue to resolve against the static
base URI.

Here's a contrived example which illustrates the issue.

(: assume the dyanmic base URI is not http://example.org :)

declare base-uri "http://example.org";
declare default collation "/languages/Icelandic";

declare variable $s as xs:string external;

compare("a", $s) eq compare("a", $s, "/languages/Icelandic)

-- 
Configure bugmail: https://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 Thursday, 29 March 2012 08:24:43 UTC