- From: Jeremy Carroll <jjc@hpl.hp.com>
- Date: Mon, 8 Sep 2003 17:52:44 +0300
- To: pfps@research.bell-labs.com
- Cc: www-rdf-comments@w3.org, w3c-i18n-ig@w3.org
> It appears to me that RDF Concepts does not require % to be %-escaped in > RDF URI references (Section 6.4). Surely this is a bug. Hi Peter In response to your message http://lists.w3.org/Archives/Public/www-rdf-comments/2003JulSep/0282 The requirement to not escape % is derived from the the other specifications from which the text you mention is taken. See, http://www.w3.org/TR/2003/WD-charmod-20030822/#sec-URIs which links to http://www.w3.org/XML/xml-V10-2e-errata#E26 http://www.w3.org/TR/xlink/#link-locators http://www.w3.org/International/2002/draft-duerst-iri-00.txt The grammar in http://www.w3.org/International/2002/draft-duerst-iri-00.txt is perhaps the most useful, this indicates that % is only allowed in IRIs when part of an escape sequence, and not otherwise. Thus <rdf:RDF> <rdf:Description rdf:about="http://example.org/bar%foo"> <eg:prop>val</eg:prop> </rdf:Description> </rdf:RDF> is not legal, whereas <rdf:RDF> <rdf:Description rdf:about="http://example.org/foo%bar"> <eg:prop>val</eg:prop> </rdf:Description> </rdf:RDF> is legal (but does not represent an IRI in UTF-8 encoding). In a discussion of your comment, the RDF Core WG was inclined to add one or more test cases (e.g. these two) and make no other changes. Would that satisfy you? If so I will formally propose these tests and get back to you once they have been added to the RDF test suite. If you believe that the design choice is fundamentally mistaken I believe that it would be more effective to take that up with the IRI editors, perhaps on uri@w3.org or w3c-i18n-ig@w3.org Jeremy
Received on Monday, 8 September 2003 11:56:26 UTC