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 2906 - fn-resolve-uri-16 should succeed
Summary: fn-resolve-uri-16 should succeed
Status: RESOLVED FIXED
Alias: None
Product: XML Query Test Suite
Classification: Unclassified
Component: XML Query Test Suite (show other bugs)
Version: 0.8.6
Hardware: PC Linux
: P2 normal
Target Milestone: ---
Assignee: Carmelo Montanez
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-02-21 14:22 UTC by Jerome Simeon
Modified: 2006-03-09 18:59 UTC (History)
1 user (show)

See Also:


Attachments

Description Jerome Simeon 2006-02-21 14:22:34 UTC
I don't believe the test fn-resolve-uri-16
should fail. The F&O spec gives the following rules:

<<
If $relative is an absolute URI reference, it is returned unchanged.

If $relative or $base is not a valid xs:anyURI an error is raised [err:FORG0002].

If $relative is the empty sequence, the empty sequence is returned.
>>

which I bevlieve should be applied in order. here the first rule applies and the
$relative argument should be returned unchanged.

- Jerome
Comment 1 Carmelo Montanez 2006-03-06 16:06:05 UTC
Jerome:

Actually I was attemping to do something different with the test, but never quite got to it.  You are correct.  I resubmitted the results and change the
catalog entry.  Please close the bug if able to verify and if in agreement.

Thanks,
Carmelo
Comment 2 Michael Kay 2006-03-09 16:47:33 UTC
I agree that the test should succeed. I also think that the result should not be

http://www.examples.com

as expected in 0.8.6, but rather

http://www.examples.com/

(If you have changed the results in fixing this, my apologies: please close it again!)

Michael Kay
Comment 3 Carmelo Montanez 2006-03-09 18:59:39 UTC
Michael:

The current (not viewable in 0.8.6 is "http://www.examples.com/" as suggested.
I will go ahead and close the bug.

Carmelo