W3C home > Mailing lists > Public > public-prov-wg@w3.org > November 2012

mentionOf in XML schema

From: Curt Tilmes <Curt.Tilmes@nasa.gov>
Date: Thu, 29 Nov 2012 09:46:55 -0500
Message-ID: <50B7755F.3030107@nasa.gov>
To: Provenance Working Group <public-prov-wg@w3.org>
The PROV-LINKS note describes the XML representation of mentionOf.

mentionOf has been commented out of the prov.xsd schema.

If we are describing the XML representation of mentionOf, it seems
like we should have the schema support validation of it. (I think
we'll have a similar issue with the collection note.)

I can think of a couple options:

1. Just keep mentionOf in the XSD schema as described in the note.

2. Make a separate XSD ("prov-links.xsd"?) that imports prov.xsd,
and additionally defines mentionOf.  Then you could validate against
prov-links for things that included mentionOf.

3. Make separate XSDs, one with the core, one with mention, one
with collections, etc., then have prov.xsd import all of them.
Then you can validate against the core if you want errors on
uses of mention, or against the main prov.xsd if you wan the
extensions from the notes.

Has this already been addressed some other way (I confess I am
way behind on reading emails...)

Curt
Received on Thursday, 29 November 2012 14:47:26 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Thursday, 29 November 2012 14:47:27 GMT