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

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