<?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>7029</bug_id>
          
          <creation_ts>2009-06-16 17:52:53 +0000</creation_ts>
          <short_desc>[FO] resolve-uri(): missing &quot;or&quot; in erratum FO.E1</short_desc>
          <delta_ts>2012-03-29 08:05:43 +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>Functions and Operators 1.0</component>
          <version>2nd Edition Recommendation</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Windows NT</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>minor</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Michael Kay">mike</reporter>
          <assigned_to name="Michael Kay">mike</assigned_to>
          <cc>jim.melton</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>25591</commentid>
    <comment_count>0</comment_count>
    <who name="Michael Kay">mike</who>
    <bug_when>2009-06-16 17:52:53 +0000</bug_when>
    <thetext>Erratum FO.E1 introduces the text:

If $base is not a valid URI according to the rules of the xs:anyURI data type, if it is not a suitable URI to use as input to the chosen resolution algorithm (for example, if it is a relative URI reference, if it is a non-hierarchic URI, or if it contains a fragment identifier), then an error is raised [err:FORG0002].

There should be an &quot;or&quot; after the first comma. Without it, the sentence can be read as requiring both the &quot;if&quot; conditions outside the parentheses to be true, rather than either one of them.

I would also suggest adding another example within the parentheses: &quot;if it contains a space&quot;. A wannabe-URI - that is, a string that becomes a valid URI after escaping, for example &quot;file:///c:/test dir/&quot; - is not a suitable URI to use as input to the resolution algorithms described in the RFCs, so the error should be raised.

It would also be useful to cover this in test cases.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>25822</commentid>
    <comment_count>1</comment_count>
    <who name="Michael Kay">mike</who>
    <bug_when>2009-06-30 09:24:15 +0000</bug_when>
    <thetext>Reclassified as editorial.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>66220</commentid>
    <comment_count>2</comment_count>
    <who name="Michael Kay">mike</who>
    <bug_when>2012-03-29 08:05:24 +0000</bug_when>
    <thetext>This is fixed in the current 3.0 draft, and it is on the list of candidate errata for the 1.0/2.0 draft, so I am marking it as resolved/closed.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>