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: Uche Ogbuji <uche.ogbuji@fourthought.com>
Date: Sat, 22 Jun 2002 02:10:09 -0600
Message-Id: <200206220810.g5M8A9w31249@localhost.localdomain>
To: RDF Interest <www-rdf-interest@w3.org>

> 
> 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.


-- 
Uche Ogbuji                                    Fourthought, Inc.
http://uche.ogbuji.net    http://4Suite.org    http://fourthought.com
Track chair, XML/Web Services One (San Jose, Boston): http://www.xmlconference.com/
DAML Reference - http://www.xml.com/pub/a/2002/05/01/damlref.html
The Languages of the Semantic Web - http://www.newarchitectmag.com/documents/s=2453/new1020218556549/index.html
XML, The Model Driven Architecture, and RDF @ XML Europe - http://www.xmleurope.com/2002/kttrack.asp#themodel
Received on Saturday, 22 June 2002 04:31:09 GMT

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