W3C home > Mailing lists > Public > www-rdf-interest@w3.org > June 2002

Re: Using entities [was Re: RDFX: My "vision" for an RDF/XML serialization, for both assertions and queries (RDF 2.0)? ]

From: Patrick Stickler <patrick.stickler@nokia.com>
Date: Sun, 23 Jun 2002 14:43:24 +0300
To: ext Sampo Syreeni <decoy@iki.fi>, Uche Ogbuji <uche.ogbuji@fourthought.com>
CC: RDF Interest <www-rdf-interest@w3.org>
Message-ID: <B93B8F0C.17356%patrick.stickler@nokia.com>

On 2002-06-22 16:42, "ext Sampo Syreeni" <decoy@iki.fi> wrote:

> On Sat, 22 Jun 2002, Uche Ogbuji wrote:
> 
>> <!ENTITY rdf  "rdf:">
>> 
>> <rdfx xmlns:rdf ="&rdf;"
>> 
>> What's so nasty about this?  It's a pattern I've been using for a while,
>> and I think it really helps readability.
> 
> Plus conciseness. WordNet RDF dumps seem to be doing the same sort of
> thing, I think wisely.

Well, the ENTITY declaration actually should be

  <!ENTITY rdf "http://www.w3.org/1999/02/22-rdf-syntax-ns#">
 
but it was a snapshot of a work in progress, hence the semi-bogus
namespace prefixes.

Cheers,

Patrick

--
               
Patrick Stickler              Phone: +358 50 483 9453
Senior Research Scientist     Fax:   +358 7180 35409
Nokia Research Center         Email: patrick.stickler@nokia.com
Received on Sunday, 23 June 2002 07:38:59 GMT

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