<?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>3121</bug_id>
          
          <creation_ts>2006-04-18 14:10:53 +0000</creation_ts>
          <short_desc>extra / in namespace document</short_desc>
          <delta_ts>2006-06-13 15:08:42 +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>Data Model 1.0</component>
          <version>Candidate Recommendation</version>
          <rep_platform>All</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc>http://www.w3.org/TR/xpath-functions/#namespace-prefixes</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="Dan Connolly">connolly</reporter>
          <assigned_to name="Norman Walsh">Norman.Walsh</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>9293</commentid>
    <comment_count>0</comment_count>
    <who name="Dan Connolly">connolly</who>
    <bug_when>2006-04-18 14:10:53 +0000</bug_when>
    <thetext>xquery F&amp;O gives http://www.w3.org/2005/xpath-functions as a namespace, but when I go there, I get redirected to http://www.w3.org/2005/xpath-functions/
where it says... Each function and operator is uniquely identified with a URI of the form: http://www.w3.org/2005/xpath-functions/#name

What is the full URI of fn:starts-with ?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>9296</commentid>
    <comment_count>1</comment_count>
    <who name="Norman Walsh">Norman.Walsh</who>
    <bug_when>2006-04-18 16:23:34 +0000</bug_when>
    <thetext>The specification is clear, I believe, the full URI for fn:starts-with is http://www.w3.org/2005/xpath-functions#starts-with</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>9864</commentid>
    <comment_count>2</comment_count>
    <who name="Ashok Malhotra">ashok.malhotra</who>
    <bug_when>2006-05-19 13:06:04 +0000</bug_when>
    <thetext>Norm will fix when preparing next round of publication.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>9865</commentid>
    <comment_count>3</comment_count>
    <who name="Norman Walsh">Norman.Walsh</who>
    <bug_when>2006-05-19 13:17:03 +0000</bug_when>
    <thetext>But I want it left open until it&apos;s fixed :-)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>9946</commentid>
    <comment_count>4</comment_count>
    <who name="Norman Walsh">Norman.Walsh</who>
    <bug_when>2006-06-06 15:18:14 +0000</bug_when>
    <thetext>This will be fixed in the 8 June publication round.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>9972</commentid>
    <comment_count>5</comment_count>
    <who name="Norman Walsh">Norman.Walsh</who>
    <bug_when>2006-06-12 19:36:16 +0000</bug_when>
    <thetext>We failed to fix this because of constraints in the web server configuration</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>9973</commentid>
    <comment_count>6</comment_count>
    <who name="Norman Walsh">Norman.Walsh</who>
    <bug_when>2006-06-12 19:38:34 +0000</bug_when>
    <thetext>Proposed solution: rename the collation URI to /2006/xpath-collations/codepoint
</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>9974</commentid>
    <comment_count>7</comment_count>
    <who name="Michael Kay">mike</who>
    <bug_when>2006-06-12 20:32:55 +0000</bug_when>
    <thetext>I don&apos;t think I see the logic why changing the collation URI should have any bearing on this problem.

And please could we not change the collation URI at this stage without very strong justification. Any change will be very disruptive.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>9976</commentid>
    <comment_count>8</comment_count>
    <who name="Norman Walsh">Norman.Walsh</who>
    <bug_when>2006-06-12 20:48:34 +0000</bug_when>
    <thetext>It&apos;s an ugly practical detail in web server administration. I thought changing the collation URI would be less painful than changing the xpath-functions URI :-)

If you do a GET onthe xpath-functions namespace, you want &quot;/2006/xpath-functions&quot; to appear in the browser. (Because people are going to cut-and-paste it and &quot;/2006/xpath-functions/&quot; is a different URI for namespace purposes.)

But if a directory named /2006/xpath-functions exists, a request for /2006/xpath-functions is always redirected to /2006/xpath-functions/

And because we have another URI named /xpath-functions/collations/..., we can&apos;t remove the xpath-functions directory.

Rock. Hard place. Between. :-(</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>9979</commentid>
    <comment_count>9</comment_count>
    <who name="David Carlisle">davidc</who>
    <bug_when>2006-06-12 22:32:46 +0000</bug_when>
    <thetext>And because we have another URI named /xpath-functions/collations/..., we can&apos;t
remove the xpath-functions directory.


Norm, cant you remove the directory (so trailing slashes dont get added) but still keep the URI /xpath-functions/collations/ by silently rewriting URLs of that form it to serve files from somewhere else?

David</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>9983</commentid>
    <comment_count>10</comment_count>
    <who name="Norman Walsh">Norman.Walsh</who>
    <bug_when>2006-06-13 11:16:32 +0000</bug_when>
    <thetext>I don&apos;t think silent rewriting will work, though it might. Henry Thompson also suggested to me yesterday that using ScriptAlias and just taking over the entire tree might do it. I&apos;m experimenting. With luck, this issue will silently close itself again today :-)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>9984</commentid>
    <comment_count>11</comment_count>
    <who name="Norman Walsh">Norman.Walsh</who>
    <bug_when>2006-06-13 11:50:35 +0000</bug_when>
    <thetext>Indeed, David, you&apos;re right. RewriteRules will do the trick. I&apos;ll get webreq to install them and then close this again. Whew!</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>