<?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>15283</bug_id>
          
          <creation_ts>2011-12-20 17:10:06 +0000</creation_ts>
          <short_desc>[QT3TS] module-URIs-5, -6: use of base URI to resolve module namespace</short_desc>
          <delta_ts>2012-06-06 09:01:20 +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>XQuery 3 &amp; XPath 3 Test Suite</component>
          <version>Member-only Editors Drafts</version>
          <rep_platform>PC</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>FIXED</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 Kay">mike</reporter>
          <assigned_to name="Matthias Brantner">matthias.brantner</assigned_to>
          <cc>jim.melton</cc>
    
    <cc>matthias.brantner</cc>
    
    <cc>tim</cc>
          
          <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>61823</commentid>
    <comment_count>0</comment_count>
    <who name="Michael Kay">mike</who>
    <bug_when>2011-12-20 17:10:06 +0000</bug_when>
    <thetext>The expected results for tests module-URIs-5 and module-URIs-6 assume that the module namespace URI if relative is resolved against the base URI of the query. There is nothing in the spec that says this should happen. Module namespaces are like other namespaces: relative URIs are deprecated and their behaviour is undefined.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>61829</commentid>
    <comment_count>1</comment_count>
    <who name="Matthias Brantner">matthias.brantner</who>
    <bug_when>2011-12-20 18:21:55 +0000</bug_when>
    <thetext>In general, I agree with Mike&apos;s comment and propose to remove the two tests in question.

However, there are two places in the spec which might be misleading and could be improved.

4.5 Base URI Declaration
&quot;For example, the Static Base URI property is used when resolving relative URIs for module import.&quot;

It seems that this is only referring to location hint URIs.

4.12.1 Module URIs
&quot;Module URIs should be treated in the same way as other namespace URIs.&quot;

I was wondering whether this sentence could be a bit stronger. That is, replace &quot;should&quot; with &quot;must&quot;.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>63024</commentid>
    <comment_count>2</comment_count>
    <who name="Michael Kay">mike</who>
    <bug_when>2012-01-23 21:36:49 +0000</bug_when>
    <thetext>*** Bug 15677 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>68596</commentid>
    <comment_count>3</comment_count>
    <who name="Matthias Brantner">matthias.brantner</who>
    <bug_when>2012-06-04 21:13:58 +0000</bug_when>
    <thetext>The two tests were removed in rev. 1.7 of prod/ModuleImport.xml.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>68752</commentid>
    <comment_count>4</comment_count>
    <who name="Tim Mills">tim</who>
    <bug_when>2012-06-06 09:01:20 +0000</bug_when>
    <thetext>Confirmed fixed.  Thanks.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>