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 2655 - fn-resolve-uri-2 results not well-defined
Summary: fn-resolve-uri-2 results not well-defined
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 Windows XP
: P2 normal
Target Milestone: ---
Assignee: Carmelo Montanez
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-01-05 17:26 UTC by Michael Kay
Modified: 2006-01-09 15:58 UTC (History)
0 users

See Also:


Attachments

Description Michael Kay 2006-01-05 17:26:02 UTC
fn-resolve-uri-2 does

fn:resolve-uri("","examples")

The result of resolving a relative URI against another relative URI is not very
well specified in the IETF RFCs, and as a result we don't spell it out in the
F+O spec either. The RFCs can be interpreted as saying that the base URI must be
absolute; or you can follow the algorithms they provide step-by-step, in which
case I think the answer to this one is "". I don't think the spec gives any
justification for the published result of http://www.example/examples
Comment 1 Carmelo Montanez 2006-01-09 14:52:05 UTC
Actually the intention here is to use the first version of the function (one
argument).  Changed the test to just having the empty string as the first 
argument and resubmitted new test and results.  Please close bug when able to 
verify.

Thanks,
Carmelo