<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://www.w3.org/Bugs/Public/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4"
          urlbase="https://www.w3.org/Bugs/Public/"
          
          maintainer="sysbot+bugzilla@w3.org"
>

    <bug>
          <bug_id>1420</bug_id>
          
          <creation_ts>2005-05-13 21:22:20 +0000</creation_ts>
          <short_desc>[FO] base-uri for collation uris</short_desc>
          <delta_ts>2005-09-29 11:07:27 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>XPath / XQuery / XSLT</product>
          <component>Functions and Operators 1.0</component>
          <version>Last Call drafts</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Windows XP</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>WONTFIX</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Michael Rys">mrys</reporter>
          <assigned_to name="Ashok Malhotra">ashok.malhotra</assigned_to>
          
          
          <qa_contact name="Mailing list for public feedback on specs from XSL and XML Query WGs">public-qt-comments</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>3352</commentid>
    <comment_count>0</comment_count>
    <who name="Michael Rys">mrys</who>
    <bug_when>2005-05-13 21:22:20 +0000</bug_when>
    <thetext>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&apos;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(&quot;customers.xml&quot;)
where compare($i/name, &quot;Doe&quot;, &quot;English-AS-CS&quot;) = 0
return
  ... 

I would like the two relative URIs to resolve against their respective 
different bases.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>3358</commentid>
    <comment_count>1</comment_count>
    <who name="Michael Kay">mike</who>
    <bug_when>2005-05-13 21:31:38 +0000</bug_when>
    <thetext>We&apos;ve had this discussion before...

Relative URIs are not the way to solve the problem of making collation URIs
interoperable. Implementations need to provide indirection mechanisms using
catalogs, configuration files, or URI resolvers. 

I&apos;m happy to ban relative collation URIs, or to say that the way they are
resolved is implementation defined, but we don&apos;t want to set up additional
machinery in this area.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>3137</commentid>
    <comment_count>2</comment_count>
    <who name="Ashok Malhotra">ashok.malhotra</who>
    <bug_when>2005-05-20 22:05:23 +0000</bug_when>
    <thetext>The WGs discussed this request during the joint meeting on 5/19/2005 and decided
not to accept it.

Ashok Malhotra</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>5210</commentid>
    <comment_count>3</comment_count>
    <who name="Michael Kay">mike</who>
    <bug_when>2005-07-26 14:16:06 +0000</bug_when>
    <thetext>As a result of the WGs&apos; decision, the XSLT 2.0 spec has been brought into line
with F+O in stating that any collation URI that is a relative URI must be
resolved against the base URI from the static context (or in the case of a
collation URI used outside the context of an XPath expression, the base URI of
the stylesheet element on which it appears.)

Michael Kay</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>