W3C home > Mailing lists > Public > w3c-rdfcore-wg@w3.org > October 2002

Re: test case: is RDF/XML layered on XML?

From: Dave Beckett <dave.beckett@bristol.ac.uk>
Date: Tue, 01 Oct 2002 15:02:21 +0100
To: Brian McBride <bwm@hplb.hpl.hp.com>
cc: Jeremy Carroll <jjc@hplb.hpl.hp.com>, RDF Core <w3c-rdfcore-wg@w3.org>, connolly@w3.org
Message-ID: <6547.1033480941@hoth.ilrt.bris.ac.uk>

>>>Brian McBride said:
> No, certainly not, just to be clear that dtd processing is expected to happen

In some sense.  The XML spec defines this, but *validation* is not
required.  That's tricky for RDF/XML since there is no DTD :)
(although you can make one for profiles of RDF/XML)

> Oh dear, though, there is another wedge here.  Forgive my ignorance here - 
> can an XML document indicate that it should be processed by XML Schema or 
> any other XML processor?

In short: no.

RDF/XML is based on a set of XML standards (previously cited), there
is no way it can be expected to handle other XML formats that aren't
being used.  If an attempt is made to use them by adding new XML
attributes, they may drop out as RDF properties or more likely, break
the grammar.

As far as I've worked out so far, the W3C XML Schema language uses a
different approach to multiple namespaces that doesn't work too well
in multiple-namespaced RDF/XML, as well as using non-namespaced
attributes which aren't allowed at all in RDF/XML.

My stuff for simple DC in RDF/XML, validated by WXS
  http://ilrt.org/discovery/2002/01/dcxml-xsd/
uses external validation.

But this is a whole different story.

Dave
Received on Tuesday, 1 October 2002 10:04:23 EDT

This archive was generated by hypermail pre-2.1.9 : Wednesday, 3 September 2003 09:52:21 EDT