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

Re: XML vs. RDF ==> see infoset domains

From: Jonathan Borden <jborden@mediaone.net>
Date: Sat, 2 Feb 2002 12:25:47 -0500
Message-ID: <011b01c1ac0e$aab6a260$0301a8c0@ne.mediaone.net>
To: <www-rdf-interest@w3.org>, "Sandro Hawke" <sandro@w3.org>
Sandro,


>
> I was in a meeting the other day where TimBL was trying to explain the
> difference between RDF and XML.  He said something vaguely like "XML
> only lets you say things about parts of documents; RDF lets you say
> things about anything."

An XML document is nothing more than a stream of unicode characters. The XML
1.0 recommendation contains a proper set of EBNF productions which define
the _abstract syntax_ of XML. The XML Infoset is nothing more than a subset
of this abstract syntax, the subset which has been declared relevent (i.e.
it is not relevent whether an attribute value is contained within a pair of
single or double quotes, it is not relevent what the order of attributes is,
it is relevent what the order of elements is.

There are no semantics attached to XML _itself_ rather specifications attach
semantics to a particular XML grammar e.g. RDF/XML, Topic Maps, perhaps some
XML representation of KIF etc.

Certainly one can represent the XML Infoset in an RDF syntax (the RDF XML
surface syntax, or an RDF abstract syntax (e.g. a set of triples)). It would
be the RDF MT that attaches a semantics onto this RDF Infoset
representation.

In this case, it is correct that the _RDF rrepresentation of an XML Infoset_
only says something about the particular XML document, but so what?

I would counter with an obvious answer: an XML representation of KIF, or
perhaps a non-RDF representation of DAML/OWL would allow one to say anything
that the underlying KIF or OWL MT allows, perhaps something about anything.

Jonathan
Received on Saturday, 2 February 2002 11:53:12 GMT

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