W3C home > Mailing lists > Public > www-rdf-interest@w3.org > November 2000

Re: Coordinating XML schema and RDF schema

From: Sean B. Palmer <sean@mysterylights.com>
Date: Tue, 28 Nov 2000 15:42:40 -0000
Message-ID: <008d01c05951$eec53ae0$48ec93c3@z5n9x1>
To: "Charles McCathieNevile" <charles@w3.org>
Cc: "Susanne Guth" <susi@wu-wien.ac.at>, <www-rdf-interest@w3.org>
>   > Is it possible, therefore, to import both the XML schema
>   > and the RDF schema as namespaces? Is it possible to
>   > mix RDF and XML to describe resources?
> Yes. In fact, this is one of the benefits of having both RDF and XML
> language use XML for their syntax.

Could you provide an example of how a system would use both RDF and XML
Schemas? XML Schemas (as I understand them) are mainly for applying
structural description rules. So if I write a Schema that asserts that an
RDF language has a structure like:-
<root xmlns="http://myrdf.org/">
where the root is *required*, what happens if I want to use <element/> and
it's RDF Schema's defintion imported into my own document?
In other words:-
<myroot xmlns="http://myxmlns.org/">
<element xmlns="http://myrdf.org"/>
Is made illegal by XML Schmeas, even though it may be very useful to do that
in RDF. This is one of the things I can't understand about RSS: I've seen
people use elements from the RSS namespace (myself inculded) without paying
attention to the prose structure set out in the specification. RSS says that
it gets round this problem due to it's modularity...but that's not useful if
I want to use a single attribute.

I would love to see examples of:-
1. How RDF and XML Schemas can be combined
2. Proper uses of a system such as 1.

And I'm not saying that that isn't possible. Also I'd be interested to hear
what the RSS people have to say about using Schemas for RSS.
In summary, I think that in general you wouldn't want to mix RDF and XML
Schemas, but there might be certain examples where this is not only
preferable but necessary. I would also like to see examples of such a system
if anyone has set one up.

Kindest Regards,
Sean B. Palmer
"Perhaps, but let's not get bogged down in semantics."
   - Homer J. Simpson, BABF07.
Received on Tuesday, 28 November 2000 10:42:53 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:07:33 UTC