- From: <bugzilla@wiggum.w3.org>
- Date: Fri, 08 Dec 2006 19:09:57 +0000
- To: public-xml-schema-testsuite@w3.org
- CC:
http://www.w3.org/Bugs/Public/show_bug.cgi?id=4048
Summary: DataTypes tests: validity of anyURI values
Product: XML Schema Test Suite
Version: 2006-11-06
Platform: PC
OS/Version: Windows XP
Status: NEW
Severity: normal
Priority: P2
Component: Microsoft tests
AssignedTo: ht@inf.ed.ac.uk
ReportedBy: mike@saxonica.com
QAContact: public-xml-schema-testsuite@w3.org
In the Microsoft DataTypes tests, test anyURI_a001_1336 appears to assume that
1111111111111111111http://foo/bar
is a valid instance of xs:anyURI. I believe that it isn't. The specification
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].
The XLink escaping algorithm has no effect on this string. The string cannot be
interpreted as an absolute URI because the first component of an absolute URI
(the scheme) must start with an alpha; and it cannot be interpreted as a
relative URI because the part before the first "/" contains a colon.
Similarly, other strings that the tests consider to be valid anyURI values, but
which I think are invalid, include:
test URI(s)
anyURI_a003 :a
b:
anyURI_b004 %
anyURI_b006 //
Received on Friday, 8 December 2006 19:10:09 UTC