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 6903 - [XQTS] K2-BaseURIProlog-3 can return FODC0002
Summary: [XQTS] K2-BaseURIProlog-3 can return FODC0002
Status: RESOLVED FIXED
Alias: None
Product: XML Query Test Suite
Classification: Unclassified
Component: XML Query Test Suite (show other bugs)
Version: unspecified
Hardware: PC Windows NT
: P2 normal
Target Milestone: ---
Assignee: Frans Englich
QA Contact: Mailing list for public feedback on specs from XSL and XML Query WGs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-05-13 16:19 UTC by Oliver Hallam
Modified: 2009-10-13 13:57 UTC (History)
0 users

See Also:


Attachments

Description Oliver Hallam 2009-05-13 16:19:17 UTC
The test K2-BaseURIProlog-3 is as follows:
declare base-uri "c:\windows"; fn:doc("example.com.xml")

The test expects XQST0046 or FODC0005 errors; I think this should allow FODC0002 as well.

On evaluating the call to fn:doc, the base URI is interpreted as "c:%5Cwindows", and resolving the URI "example.com.xml" against this gives the absolute URI "c:example.com.xml"

Thus we have a valid absolute URI, and so FODC0002 should be a valid result, since this URI cannot be retrieved.
Comment 1 Frans Englich 2009-10-13 13:57:44 UTC
I agree, fixed.