W3C home > Mailing lists > Public > w3c-rdfcore-wg@w3.org > September 2001

Re: question: URIs with & character

From: Brian McBride <bwm@hplb.hpl.hp.com>
Date: Fri, 07 Sep 2001 14:09:55 +0100
Message-ID: <3B98C723.A97D6733@hplb.hpl.hp.com>
To: Ron Daniel <rdaniel@interwoven.com>
CC: w3c-rdfcore-wg@w3.org
I want to confirm that the WG agrees to the test case in:

   http://www.w3.org/2000/10/rdf-tests/rdfcore/

Is there any dissent?

Brian



Ron Daniel wrote:
> 
> Hi all,
> 
> Just came across a case where I need to say something like:
> 
>   <rdf:Description rdf:about="http://example.com/archive.cgi?op=1&ID=1234">
> 
> Note the '&' character in the URI, which can't appear as
> such in the RDF document. So, what do we do about '&' and '<'
> characters appearing in the value of the rdf:about attribute?
> (Hmmm - probably '>' as well to be safe)
> 
> Seems like we can:
> 
> 1) Escape as &amp; and advise RDF applications or processors
>    that they will need to unescape such things. (Preferably
>    the RDF processor unescapes it before handing it off to
>    the calling application, says the guy developing applications
>    more than RDF parsers.)
> 
> 2) Something else?
> 
> BTW - This might be a good thing to throw into the test
> cases. Who can do that (or show me how to?)
> 
> Ron
Received on Friday, 7 September 2001 09:13:39 EDT

This archive was generated by hypermail pre-2.1.9 : Wednesday, 3 September 2003 09:39:41 EDT