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 2901 - Malformed URI in base-URI-24
Summary: Malformed URI in base-URI-24
Status: RESOLVED FIXED
Alias: None
Product: XML Query Test Suite
Classification: Unclassified
Component: XML Query Test Suite (show other bugs)
Version: 0.8.6
Hardware: PC Linux
: P2 normal
Target Milestone: ---
Assignee: Carmelo Montanez
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-02-20 23:15 UTC by Jerome Simeon
Modified: 2006-03-09 22:08 UTC (History)
0 users

See Also:


Attachments

Description Jerome Simeon 2006-02-20 23:15:21 UTC
In base-URI-24

"http://www.example.org/   examples"
and
"http://www.example.org/ examples"

are both malformed URIs according to the library I am using.

- Jerome
Comment 1 Andrew Eisenberg 2006-02-21 19:44:09 UTC
I'm not sure what to make of this test. XQuery, in section 2.4.5, URI Literals,
says:

"However, an implementation MAY raise a static error [err:XQST0046] if the value
of a URILiteral is of nonzero length and is not in the lexical space of
xs:anyURI, ..."


Schema Part 2, in section 3.2.17 anyURI, says:

"Note:  Spaces are, in principle, allowed in the ·lexical space· of anyURI,
however, their use is highly discouraged (unless they are encoded by %20)."
Comment 2 Carmelo Montanez 2006-03-06 21:10:52 UTC
Perhaps the thing to do here is is to allow for the error and the expected value as is now.

Carmelo
Comment 3 Carmelo Montanez 2006-03-09 22:08:35 UTC
Jerome:

We are taking a two step approach to this issue:

 1) Leave the test as is and allow implementations to raise the error.
 2) Write a second test that uses "%20" instead of the space and require
    implemntations to pass that test.

Please close the bug if in agreement and when able to verify.

Thanks,
Carmelo