<?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>5510</bug_id>
          
          <creation_ts>2008-02-28 21:48:00 +0000</creation_ts>
          <short_desc>relative namespace URI in K2-DirectConOther-71</short_desc>
          <delta_ts>2008-02-29 11:22:03 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>XML Query Test Suite</product>
          <component>XML Query Test Suite</component>
          <version>unspecified</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Windows XP</op_sys>
          <bug_status>RESOLVED</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="Andrew Eisenberg">andrew.eisenberg</reporter>
          <assigned_to name="Frans Englich">frans.englich</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>19223</commentid>
    <comment_count>0</comment_count>
    <who name="Andrew Eisenberg">andrew.eisenberg</who>
    <bug_when>2008-02-28 21:48:00 +0000</bug_when>
    <thetext>The query for K2-DirectConOther-71 is:

&lt;a xmlns:p=&quot;NS&quot;&gt;&lt;b p:c=&quot;&quot; p:d=&quot;&quot;/&gt;&lt;/a&gt;

The relative namespace URI bound to p can be processed by XQuery, but it trips up the canonicalization that I do to compare the actual and expected results.

Canonical XML, Version 1.0, 2.1 Data Model, says in part:

&quot;Note: This specification supports the recent XML plenary decision to deprecate relative namespace URIs as follows: implementations of XML canonicalization MUST report an operation failure on documents containing relative namespace URIs. XML canonicalization MUST NOT be implemented with an XML parser that converts relative URIs to absolute URIs.&quot;

The same note appears in Canonical XML 1.1, Proposed Recommendation.


Perhaps you could change the query to something like:

&lt;a xmlns:p=&quot;urn:abbrev:NS&quot;&gt;&lt;b p:c=&quot;&quot; p:d=&quot;&quot;/&gt;&lt;/a&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>19226</commentid>
    <comment_count>1</comment_count>
    <who name="Frans Englich">frans.englich</who>
    <bug_when>2008-02-29 11:22:03 +0000</bug_when>
    <thetext>Yupp, changed in CVS as suggested.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>