<?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>2884</bug_id>
          
          <creation_ts>2006-02-16 17:57:07 +0000</creation_ts>
          <short_desc>fn-resolve-uri-3</short_desc>
          <delta_ts>2006-06-22 13:02:08 +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>0.8.4</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Linux</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="Jerome Simeon">simeon</reporter>
          <assigned_to name="Carmelo Montanez">carmelo</assigned_to>
          
          
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>8291</commentid>
    <comment_count>0</comment_count>
    <who name="Jerome Simeon">simeon</who>
    <bug_when>2006-02-16 17:57:07 +0000</bug_when>
    <thetext>&quot;http://&quot; seems to be a valid URI as far as I can tell. The
RFC says that the authority can be absend and the path can be
empty in the following:

      URI         = scheme &quot;:&quot; hier-part [ &quot;?&quot; query ] [ &quot;#&quot; fragment ]
      hier-part   = &quot;//&quot; authority path-abempty
                  ...

   The scheme and path components are required, though the path may be
   empty (no characters).  When authority is present, the path must
   either be empty or begin with a slash (&quot;/&quot;) character.  When
   authority is not present, the path cannot begin with two slash
   characters (&quot;//&quot;).  These restrictions result in five different ABNF
   rules for a path (Section 3.3), only one of which will match any
   given URI reference.

And my URI library actually accepts it.

I&apos;m not an expert here, though... Any feedback would be appreciated.

- Jerome</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>8314</commentid>
    <comment_count>1</comment_count>
    <who name="Andrew Eisenberg">andrew.eisenberg</who>
    <bug_when>2006-02-17 19:37:43 +0000</bug_when>
    <thetext>I believe that your argument for the validity of http:// is based on RFC 2396.
RFC 3986 differs, requiring that host be specified:

URI         = scheme &quot;:&quot; hier-part [ &quot;?&quot; query ] [ &quot;#&quot; fragment ]

hier-part   = &quot;//&quot; authority path-abempty
              / path-absolute
              / path-rootless
              / path-empty

authority   = [ userinfo &quot;@&quot; ] host [ &quot;:&quot; port ]

host        = IP-literal / IPv4address / reg-name


So, what we need a URI that bith RFCs agree is invalid.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>8637</commentid>
    <comment_count>2</comment_count>
    <who name="Carmelo Montanez">carmelo</who>
    <bug_when>2006-03-08 19:23:30 +0000</bug_when>
    <thetext>How about:

http//</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>8666</commentid>
    <comment_count>3</comment_count>
    <who name="Carmelo Montanez">carmelo</who>
    <bug_when>2006-03-10 20:15:19 +0000</bug_when>
    <thetext>Jerome:

Made the URI invalid by removing the &quot;:&quot;, please close the bug
if in agreement and able to verify.

Carmelo</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>