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 5995 - CVS: valid URIs in fn-doc-1 etc.
Summary: CVS: valid URIs in fn-doc-1 etc.
Status: CLOSED 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: 2008-08-27 08:21 UTC by Tim Mills
Modified: 2008-11-20 08:56 UTC (History)
0 users

See Also:


Attachments

Description Tim Mills 2008-08-27 08:21:49 UTC
The URIs in the following queries are all valid.

fn-doc-1
fn-doc-17
K2-SeqDocFunc-7
K2-SeqDocFunc-8
K2-SeqDocFunc-9

I suggest using the URI '%gg' (which is definitely invalid, since '%' does not get escaped) to match the intended meaning of the tests.

K2-SeqDocFunc-7, 8 and 9 have in its comments:

"A windows file path is an invalid URI to fn:doc()"

however, the URIs are perfectly valid (after escaping).  The first two are interpreted as relative URIs, while the latter is a URI wtih scheme 'C'.

I expect that implementations currently passing the test by raising FODC0005 must be doing so because they spot that no mapping is provided for the supplied string in the dynamic contest "Available documents".
Comment 1 Frans Englich 2008-11-13 16:31:35 UTC
Fixed in CVS. fn-doc-1 is an invalid HTTP URL(which can be optionally flagged), hence I added FODC0002 to it. FODC0002 was also added to K2-SeqDocFunc-7,K2-SeqDocFunc-8 and K2-SeqDocFunc-9, and fn-doc-17 was given the suggested URI.
Comment 2 Tim Mills 2008-11-20 08:56:59 UTC
Thanks.