<?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>14557</bug_id>
          
          <creation_ts>2011-10-25 08:58:26 +0000</creation_ts>
          <short_desc>[QT3TS] Bugs in FOTS test-case: K2-SeqDocFunc-5</short_desc>
          <delta_ts>2012-05-23 10:45:55 +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>Working drafts</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Linux</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="O&apos;Neil Delpratt">oneil</reporter>
          <assigned_to name="Jim Melton">jim.melton</assigned_to>
          <cc>jim.melton</cc>
    
    <cc>mike</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>58900</commentid>
    <comment_count>0</comment_count>
    <who name="O&apos;Neil Delpratt">oneil</who>
    <bug_when>2011-10-25 08:58:26 +0000</bug_when>
    <thetext>RE: test K2-SeqDocFunc-5 in fn-doc test-set
This test does not seem to serve its purpose because the URI used
(i.e. http://www.exaple.com//example.com/example.org/does/not/exist/doesNotExist/works-mod.xml) does exist in the form of a re-direct to another page.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>58915</commentid>
    <comment_count>1</comment_count>
    <who name="Michael Kay">mike</who>
    <bug_when>2011-10-25 14:00:47 +0000</bug_when>
    <thetext>
Corrected URI:

http://www.example.com/example.com/example.org/does/not/exist/doesNotExist/works-mod.xml

As it happens, the test works by accident, because the document that IANA serves in response to this URL is not well-formed XML (although it claims to be XHTML, it has attributes with no surrounding quotes), so the XML parser barfs, giving the same error code as if the document were truly not there.

An associated problem is that the document that IANA serves contains a reference to the XHTML DTD on the W3C server, which creates operational difficulties (though there are other tests in the suite that do this quite legitimately, and implementations ought to be able to cope with it).

The trouble is, of course, that any HTTP URL is liable to be intercepted by some proxy that takes it upon itself to return a &quot;document not found&quot; page that might happen to be well-formed XML. So I would suggest using a URI with some non-existent protocol.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>67835</commentid>
    <comment_count>2</comment_count>
    <who name="O&apos;Neil Delpratt">oneil</who>
    <bug_when>2012-05-18 09:39:10 +0000</bug_when>
    <thetext>Assigning to Jim because this needs WG discussion.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>67841</commentid>
    <comment_count>3</comment_count>
    <who name="O&apos;Neil Delpratt">oneil</who>
    <bug_when>2012-05-18 09:49:46 +0000</bug_when>
    <thetext>*** Bug 15371 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>68043</commentid>
    <comment_count>4</comment_count>
    <who name="Michael Kay">mike</who>
    <bug_when>2012-05-23 10:45:55 +0000</bug_when>
    <thetext>Discussed by the WG.

ACTION A-510-03 Michael Kay and O&apos;Neil Delpratt to look at resolving bug 14557 by using another URI that meets the intent of the test (possibly a URI ending in .invalid, see RFC 2606, or possibly a file:// uri)

I have changed the test to use .invalid as suggested, and this seems to work for me.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>