W3C home > Mailing lists > Public > www-rdf-interest@w3.org > October 2004

Re: Web services returning RDF?

From: Benja Fallenstein <b.fallenstein@gmx.de>
Date: Thu, 14 Oct 2004 03:19:12 +0300
Message-ID: <416DC600.7090707@gmx.de>
To: Ian Dickinson <ian.dickinson@hp.com>
CC: Morten Frederiksen <mof-rdf@mfd-consult.dk>, RDF interest group <www-rdf-interest@w3.org>

Ian Dickinson wrote:
> <rdf:Description 
> rdf:about="http://www.wasab.dk/morten/2004/04/twilight/?latitude=51.4&amp;longitude=-2.7&amp;date=2004-10-13"> 
> 
>   <ns1:primaryTopic rdf:nodeID="r1096999731r40"/>
> 
> Looks like one too many passes through the URL encoder perhaps?

Uh, how so? The URI dereferences just fine.

If it's because of the &amp;s, remember that you're reading XML. Using a 
plain & would cause an XML parsing error (in fact I remember reading 
that not encoding &s as &amp;s in URIs is one of the most common XML 
well-formedness errors people make).

Cheers,
- Benja
Received on Thursday, 14 October 2004 00:19:50 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 7 December 2009 10:52:10 GMT