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

On 2002-06-22 11:10, "ext Uche Ogbuji" <uche.ogbuji@fourthought.com> wrote:

> 
>> 
>> Patrick,
>> 
>> In examples.rdfx, you have:
>> 
>> """
>> <!DOCTYPE rdfx [
>> <!ENTITY rdfx "voc://nokia.com/rdfx-1/">
>> <!ENTITY rdf  "rdf:">
>> <!ENTITY rdfs "rdf:">
>> <!ENTITY xsd  "xsd:">
>> <!ENTITY dc   "dc:">
>> <!ENTITY foaf "foaf:">
>> <!ENTITY ex   "ex:">
>> 
>> <!--   Please forgive the nasty abbreviated namespace URIs  ;-)   -->
>> 
>> ]>
>> 
>> <rdfx xmlns:rdf  ="&rdf;"
>>       xmlns:rdfs ="&rdfs;"
>>       xmlns:xsd  ="&xsd;"
>>       xmlns:dc   ="&dc;"
>>       xmlns:foaf ="&foaf;"
>>       xmlns:ex   ="&ex;"
>>       xmlns      ="&rdfx;">
>> """
>> 
>> What's so nasty about this?  It's a pattern I've been using for a while, and
>> I 
>> think it really helps readability.
> 
> Bah.  That's what I get for posting at 2 AM while watching world cup soccer.
> Of course I completely misunderstood Patrick's comment.

Watching football made you a bit over-eager to give something
the boot, eh? ;-)

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:43:03 UTC