This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.
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.
It appears from the comment of the tests that it was intended to use valid URIs.
@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
I believe them to be correct.
Bug fixed thanks to Dennis Knochenwefel
Confirmed fixed. Thanks.