<?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>10238</bug_id>
          
          <creation_ts>2010-07-26 13:18:48 +0000</creation_ts>
          <short_desc>[XQTS] Error codes for collection tests.</short_desc>
          <delta_ts>2011-01-24 22:48:25 +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>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="Oliver Hallam">oliver</reporter>
          <assigned_to name="Andrew Eisenberg">andrew.eisenberg</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>37099</commentid>
    <comment_count>0</comment_count>
    <who name="Oliver Hallam">oliver</who>
    <bug_when>2010-07-26 13:18:48 +0000</bug_when>
    <thetext>As a result of bug 10004 the definition of when to raise FODC0002 vs FODC0004/0005 was changed.

The following tests use valid URI values, and so should expect the error FODC0002 and not FODC0004:

fn-collection-2 uses the URI: &quot;thisfileshouldnotexists&quot;
fn-collection-3 uses the URI: &quot;invalidURI&lt;&gt;&quot;
K2-SeqCollectionFunc-1 uses the URI &quot;http:\\invalid&gt;URI\someURI&quot;

I believe these are all valid URIs, as Schema states:

The ·lexical space· of anyURI is finite-length character sequences which, when the algorithm defined in Section 5.4 of [XML Linking Language] is applied to them, result in strings which are legal URIs according to [RFC 2396], as amended by [RFC 2732].

and so, for example &quot;invalidURI&lt;&gt;&quot; is equivalent to &quot;invalidURI%3C%3E&quot; and &quot;http:\\\\invalid&gt;URI\\someURI&quot; is equivalent to &quot;http:%5C%5Cinvalid%3EURI%5CsomeURI&quot;.

Either the expected error for these tests should be changed to FODC0002 or the tests should be changed to use URIs that are never valid (for example &quot;%gg&quot;).

I believe the former fix is best for fn-collection-2 and the latter for the other two tests.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>44685</commentid>
    <comment_count>1</comment_count>
    <who name="Andrew Eisenberg">andrew.eisenberg</who>
    <bug_when>2011-01-24 22:48:25 +0000</bug_when>
    <thetext>The XML Query and XSL WGs made their decision on Bug #10004 on 2010-10-19.

I&apos;ve made the changes that you requested in your final paragraph:

fn-collection-2 expects FODC0002
fn-collection-3 now uses the URI &quot;invalidURI%gg&quot;
K2-SeqCollectionFunc-1 now uses the URI &quot;http:\\invalidURI\someURI%gg&quot;


Please close this bug report if you agree with these changes.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>