W3C home > Mailing lists > Public > www-rdf-comments@w3.org > July to September 2003

Re: escaping % in RDF URI references

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
Message-Id: <200309081752.44774.jjc@hpl.hp.com>

> 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

The requirement to not escape % is derived from the the other specifications 
from which the text you mention is taken.



which links to

The grammar in 

is perhaps the most useful, this indicates that % is only allowed in IRIs when 
part of an escape sequence, and not otherwise.


  <rdf:Description rdf:about="http://example.org/bar%foo">

is not legal, whereas

  <rdf:Description rdf:about="http://example.org/foo%bar">

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
Received on Monday, 8 September 2003 11:56:26 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:15:21 UTC