XML or RDF Re: The Tragedy of RSS

On Fri, 4 Oct 2002, Nick Gibbins wrote:

>For example, is the following XML document an example of the use of
>RDF? (ie. it is RDF?)
>
><?xml version="1.0" encoding="UTF-8"?>
><foo xmlns:dc="http://purl.org/dc/elements/1.1/">
>  <bar>lorem ipsum</bar>
>  <dc:title>This is a title</dc:title>
></foo>
>

This question ties to a few others that have come up.

My response would be this is just XML, since nothing says otherwise.

The caveat is that if we allow RDF to omit rdf:RDF and rely on well-known
namespaces then we have to figure out a way to answer the question for a
parser - i.e. is it legitimate to rewrite this as

  <rdf:RDF>
    <rdf:Description about="">
      <dc:title>This is a title</dc:title>
    </rdf:Description>
<foo id="barfoo">
  <bar>lorem ipsum</bar>
</foo>
  </rdf:RDF>

or not?

We could also wonder what the namespace says - does it provide an XML schema,
or an RDF schema, or something else, or both? Does it answer to a request for
something that transforms from one to the other?

Chaals

Received on Friday, 4 October 2002 14:32:39 UTC