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 15793 - [QT3TS] module-URIs-21, 22
Summary: [QT3TS] module-URIs-21, 22
Status: CLOSED FIXED
Alias: None
Product: XPath / XQuery / XSLT
Classification: Unclassified
Component: XQuery 3 & XPath 3 Test Suite (show other bugs)
Version: Member-only Editors Drafts
Hardware: PC Windows NT
: P2 normal
Target Milestone: ---
Assignee: O'Neil Delpratt
QA Contact: Mailing list for public feedback on specs from XSL and XML Query WGs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-01-30 12:58 UTC by Tim Mills
Modified: 2012-05-28 12:07 UTC (History)
3 users (show)

See Also:


Attachments

Description Tim Mills 2012-01-30 12:58:15 UTC
Unless I'm mistaken the strings

http://2001:0db8:85a3:0000:0000:8a2e:0370:7334/TestModules/test

and

http://www.w3.org:-7334/TestModules/test

aren't valid URIs (with respect to RFC 3986) so may expect err:XQST0046, because:

"... 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."

That said, the specification states

"Module URIs should be treated in the same way as other namespace URIs."

and

"Implementions must accept any string of Unicode characters."

As Mike Kay has pointed out the lexical space of xs:anyURI has changed between XML schema versions 1.0 and 1.1.
Comment 1 O'Neil Delpratt 2012-05-18 10:15:46 UTC
It appears from the comment of the tests that it was intended to use valid URIs.
Comment 2 Dennis Knochenwefel 2012-05-22 10:24:12 UTC
@O'Neil: it was indeed intended to be correct.

@Tim (or someone else): Could you please confirm that the following URI's are correct:

http://[2001:0db8:85a3:0000:0000:8a2e:0370:7334]/TestModules/test
http://www.w3.org:7334/TestModules/test

thanks
Comment 3 Tim Mills 2012-05-22 10:26:31 UTC
I believe them to be correct.
Comment 4 O'Neil Delpratt 2012-05-28 09:52:47 UTC
Bug fixed thanks to Dennis Knochenwefel
Comment 5 Tim Mills 2012-05-28 12:07:31 UTC
Confirmed fixed.  Thanks.