Re: Using XMLSchema-instance attributes in RDF/XML Syntax

>>>"Peter F. Patel-Schneider" said:
> Dave Beckett <dave.beckett@bristol.ac.uk> said:
> > I think I've mentioned my work on that before.
> > 
> >   W3C XML Schemas for simple DC in RDF/XML
> >   http://ilrt.org/discovery/2002/01/dcxml-xsd/
> > 
> > which has schemas, instance documents (separate) and links to the W3C
> > WXS validator checking that they work.
> 
> But do these schemas validate exactly the possible RDF/XML documents that
> use only the DC properties?

No.  They validate the form (or profile if you like) of XML being
used in the Simple Dublin Core in RDF/XML document.

> > No, the XML specification treats attributes starting with "xml"
> > specially.  RDF/XML as revised now uses the XML infoset and all
> > such namespace issues are handled by XML parsers.  The above-infoset
> > mapping never sees such prefixes.
> 
> Well, then, doesn't RDF/XML treat the XML namespace specially?

Er, no.  XML does.

As a sort of related aside. There are now URIs for XML namespace
prefixes so you can talk about "xmlns:dc" and so on.  I'm sure RDF
could find some use for that.  See
  http://www.w3.org/XML/xml-names-19990114-errata#NE05
which updates the section on reserving "xml" in
  http://www.w3.org/TR/REC-xml-names/#xmlReserved

> Couldn't you even treat the XML Schema namespaces specially in a similar
> way by going to a PSV infoset (or whatever that is called)?

Ah well.  That is an idea that comes up from time to time but I'd
classify that as an interesting research problem.  What would be the
impact of basing RDF on top of XML Schema.  Probably some people will
shriek with horror ;)

Dave

Received on Thursday, 22 August 2002 11:54:24 UTC