- From: <bugzilla@jessica.w3.org>
- Date: Mon, 26 Jul 2010 13:18:48 +0000
- To: public-qt-comments@w3.org
http://www.w3.org/Bugs/Public/show_bug.cgi?id=10238
Summary: [XQTS] Error codes for collection tests.
Product: XML Query Test Suite
Version: unspecified
Platform: PC
OS/Version: Windows NT
Status: NEW
Severity: normal
Priority: P2
Component: XML Query Test Suite
AssignedTo: andrew.eisenberg@us.ibm.com
ReportedBy: oliver@cbcl.co.uk
QAContact: public-qt-comments@w3.org
As a result of bug 10004 the definition of when to raise FODC0002 vs
FODC0004/0005 was changed.
The following tests use valid URI values, and so should expect the error
FODC0002 and not FODC0004:
fn-collection-2 uses the URI: "thisfileshouldnotexists"
fn-collection-3 uses the URI: "invalidURI<>"
K2-SeqCollectionFunc-1 uses the URI "http:\\invalid>URI\someURI"
I believe these are all valid URIs, as Schema states:
The ·lexical space· of anyURI is finite-length character sequences which, when
the algorithm defined in Section 5.4 of [XML Linking Language] is applied to
them, result in strings which are legal URIs according to [RFC 2396], as
amended by [RFC 2732].
and so, for example "invalidURI<>" is equivalent to "invalidURI%3C%3E" and
"http:\\\\invalid>URI\\someURI" is equivalent to
"http:%5C%5Cinvalid%3EURI%5CsomeURI".
Either the expected error for these tests should be changed to FODC0002 or the
tests should be changed to use URIs that are never valid (for example "%gg").
I believe the former fix is best for fn-collection-2 and the latter for the
other two tests.
--
Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
Received on Monday, 26 July 2010 13:18:52 UTC