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

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

From: Dave Beckett <dave.beckett@bristol.ac.uk>
Date: Thu, 22 Aug 2002 16:51:03 +0100
To: "Peter F. Patel-Schneider" <pfps@research.bell-labs.com>
cc: thabing@uiuc.edu, www-rdf-interest@w3.org
Message-ID: <5003.1030031463@hoth.ilrt.bris.ac.uk>

>>>"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 GMT

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