Hi all, I noticed that the RDF Validator [1] accepts unescaped characters in URI references. The RDF Model and Syntax Spec states [2] that URI references should be interpreted per RFC2396. The RFC states that many characters must be escaped when used in URIs [3]. A simple test case: <?xml version="1.0"?> <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"> <rdf:Description rdf:about="http://www.example.org/< >" rdf:type="http://www.example.org/#testType"/> </rdf:RDF> The URI in rdf:about contains the chars "<", " " and ">", all of which are disallowed in URIs and must be URL-encoded. I think this should be considered a bug. Or am I missing something? Richard [1] http://www.w3.org/RDF/Validator/ [2] http://www.w3.org/TR/REC-rdf-syntax/#URI-reference [3] http://www.isi.edu/in-notes/rfc2396.txt Sections 2 and 4.1Received on Saturday, 12 July 2003 08:34:56 GMT
This archive was generated by hypermail 2.2.0+W3C-0.50 : Sunday, 1 May 2011 06:15:15 GMT