<?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>2809</bug_id>
          
          <creation_ts>2006-02-07 15:27:54 +0000</creation_ts>
          <short_desc>fn:resolve-uri() called without base uri paramater and no base uri in the static context.</short_desc>
          <delta_ts>2006-02-23 18:54:05 +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>8142</commentid>
    <comment_count>0</comment_count>
    <who name="Jerome Simeon">simeon</who>
    <bug_when>2006-02-07 15:27:54 +0000</bug_when>
    <thetext>The F&amp;O spec indicates that in case there is no base uri parameter,
  and no base uri in the static context, and error should be raised:

  &lt;&lt; The first form of this function resolves $relative against the
  value of the base-uri property from the static context. If the
  base-uri property is not initialized in the static context an error is
  raised [err:FONS0005]. &gt;&gt;

  The corresponding tests are not indicated as raising such an error:

  fn-resolve-uri-6
  fn-resolve-uri-7
  fn-resolve-uri-8
  fn-resolve-uri-9
  fn-resolve-uri-10
  fn-resolve-uri-11
  fn-resolve-uri-12
  fn-resolve-uri-13
  fn-resolve-uri-14
  fn-resolve-uri-15

- Jerome</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>8152</commentid>
    <comment_count>1</comment_count>
    <who name="Carmelo Montanez">carmelo</who>
    <bug_when>2006-02-07 18:33:04 +0000</bug_when>
    <thetext>Jerome:

I wanted to test function interaction for these tests.  Rather than just
expecting a message, I much rather change the test a bit to achieve
the intended operation.

Thanks,
Carmelo</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>8153</commentid>
    <comment_count>2</comment_count>
    <who name="Carmelo Montanez">carmelo</who>
    <bug_when>2006-02-07 18:59:17 +0000</bug_when>
    <thetext>Jerome:

Changed the tests as follows:

fn-resolve-uri-6 to fn-resolve-uri-15 - Used the two argument version of the 
function.  Resubmitted new results new tests.

fn-resolve-uri-16 - left as is but changed it as a &quot;runtime-error&quot; test.  
Removed fn-resolve-uri-6.txt file and added code &quot;FONS0005&quot; as expected error.

Please close the bug if in agreement and when able to verify.

Thanks,
Carmelo

</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>8432</commentid>
    <comment_count>3</comment_count>
    <who name="Jerome Simeon">simeon</who>
    <bug_when>2006-02-23 18:54:05 +0000</bug_when>
    <thetext>Verified. Thanks,
- Jerome</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>