This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 2809 - fn:resolve-uri() called without base uri paramater and no base uri in the static context.
Summary: fn:resolve-uri() called without base uri paramater and no base uri in the sta...
Status: CLOSED FIXED
Alias: None
Product: XML Query Test Suite
Classification: Unclassified
Component: XML Query Test Suite (show other bugs)
Version: 0.8.4
Hardware: PC Linux
: P2 normal
Target Milestone: ---
Assignee: Carmelo Montanez
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-02-07 15:27 UTC by Jerome Simeon
Modified: 2006-02-23 18:54 UTC (History)
0 users

See Also:


Attachments

Description Jerome Simeon 2006-02-07 15:27:54 UTC
The F&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:

  << 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]. >>

  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
Comment 1 Carmelo Montanez 2006-02-07 18:33:04 UTC
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
Comment 2 Carmelo Montanez 2006-02-07 18:59:17 UTC
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 "runtime-error" test.  
Removed fn-resolve-uri-6.txt file and added code "FONS0005" as expected error.

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

Thanks,
Carmelo

Comment 3 Jerome Simeon 2006-02-23 18:54:05 UTC
Verified. Thanks,
- Jerome