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 7091 - [XQTS] K2-SeqDocFunc-9 should accept FODC0005 error.
Summary: [XQTS] K2-SeqDocFunc-9 should accept FODC0005 error.
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-07-08 12:16 UTC by Oliver Hallam
Modified: 2009-10-13 14:42 UTC (History)
0 users

See Also:


Attachments

Description Oliver Hallam 2009-07-08 12:16:32 UTC
The test is as follows:

(:*******************************************************:)
(: Test: K2-SeqDocFunc-9                                 :)
(: Written by: Frans Englich                             :)
(: Date: 2007-11-22T11:31:21+01:00                       :)
(: Purpose: A windows file path is an invalid URI to fn:doc()(#3). :)
(:*******************************************************:)
doc("C:\example.com\example.org\does\not\exist\doesNotExist\works-mod.xml")

If the URI is not interpreted as a valid document URI, then the error should be FODC0005.

This can be interpreted as a valid URI (the '\'s can be % normalized, and the URI is in the 'C' scheme).  In the unlikely event that an implementation does provide a mapping for the 'C' scheme, this could be an FODC0002 error, although I would argue that this case is so obscure that it should not really be considered a valid result by XQTS.