<?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>7975</bug_id>
          
          <creation_ts>2009-10-20 10:22:36 +0000</creation_ts>
          <short_desc>[XQTS] Test results with namespace URIs that are not URIs cannot be canonicalized.</short_desc>
          <delta_ts>2011-08-30 00:32:55 +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 NT</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>6868</dup_id>
          
          <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="Oliver Hallam">oliver</reporter>
          <assigned_to name="Frans Englich">frans.englich</assigned_to>
          <cc>jmdyck</cc>
    
    <cc>mike</cc>
    
    <cc>spungi</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>28563</commentid>
    <comment_count>0</comment_count>
    <who name="Oliver Hallam">oliver</who>
    <bug_when>2009-10-20 10:22:36 +0000</bug_when>
    <thetext>The following tests contain namespace URIs that are not valid URIs in their results.

K2-DirectConElemNamespace-59
K2-DirectConElemNamespace-60
K2-DirectConElemNamespace-75
K2-DirectConElemNamespace-76
K2-DirectConElemNamespace-78
K2-DirectConElemNamespace-82
K2-DirectConElemNamespace-83
K2-DirectConElemNamespace-84
K2-DirectConElemNamespace-85
K2-CopyNamespacesProlog-1

In order to compare the results of these tests, the expected result documents should be canonicalized.  Unfortunately canonicalization is defined to raise an error in this case (where a namespace URI is not a valid absolute URI).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>28570</commentid>
    <comment_count>1</comment_count>
    <who name="Oliver Hallam">oliver</who>
    <bug_when>2009-10-20 10:45:56 +0000</bug_when>
    <thetext>Two more tests with the same problem:

K2-DirectConElem-47
K2-NamespaceProlog-13</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>33568</commentid>
    <comment_count>2</comment_count>
    <who name="Frans Englich">frans.englich</who>
    <bug_when>2010-03-15 09:34:55 +0000</bug_when>
    <thetext>This report at least partly duplicates bug #6868. The problem is that these tests test valid syntax &amp; semantics, which needs to be done. That it then fails in c18n, is a separate problem.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>33570</commentid>
    <comment_count>3</comment_count>
    <who name="Michael Kay">mike</who>
    <bug_when>2010-03-15 10:00:42 +0000</bug_when>
    <thetext>&gt;The problem is that these tests test valid syntax &amp; semantics, which needs to be done.

See comment #12 of bug #6868.

I think our purpose is to test interoperability, and the state of the XML specs, taken as a whole, is such that there is no expectation of interoperability when invalid or relative URIs are used as namespace names. So we shouldn&apos;t use them in the public test suite.

Of course products will have their own rules on how such cases are handled, and will therefore need such tests in their private test suites, but that&apos;s a different matter.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>33592</commentid>
    <comment_count>4</comment_count>
    <who name="Frans Englich">frans.englich</who>
    <bug_when>2010-03-15 13:54:20 +0000</bug_when>
    <thetext>

*** This bug has been marked as a duplicate of bug 6868 ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>41105</commentid>
    <comment_count>5</comment_count>
    <who name="Sorin Nasoi">spungi</who>
    <bug_when>2010-10-12 14:15:24 +0000</bug_when>
    <thetext>I have added XQST0022 as an alternate result for tests:

K2-DirectConElem-47
K2-DirectConElemNamespace-59
K2-DirectConElemNamespace-65
K2-DirectConElemNamespace-75
K2-DirectConElemNamespace-76

because, as it was also mentioned by a comment for these tests, some processors MAY report the URI&apos;s as invalid.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>56018</commentid>
    <comment_count>6</comment_count>
    <who name="Michael Dyck">jmdyck</who>
    <bug_when>2011-08-30 00:32:55 +0000</bug_when>
    <thetext>Re the previous comment, see Bug 13966.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>