Re: Multiple XML schema files for a common target namespace (PROV-ISSUE-608)

Hi Stian,

See below.

On 02/05/2013 04:43 PM, Stian Soiland-Reyes wrote:
> On Tue, Feb 5, 2013 at 4:11 PM, Luc Moreau <l.moreau@ecs.soton.ac.uk> wrote:
>> I don't see the prov xml schema  as the way to fully validate a provenance
>> trace, but only a way of checking the prov core and the prov extensions defined by
>> the WG.
> I agree. We should be happy with the PROV-DM being somewhat correctly
> represented in PROV-XML - semantically checking if it makes sense is
> obviously out of scope for the schema.
>
> It is however true that XML schemas are (at least in industries not
> caught up with the REST/JSON/RDF hype!) used as building blocks for
> code generation, making WSDL services and defining exchanges between
> legal entities, and it would be sad if our schema(s) could not be used
> as a good starting point for developing more custom schemas by
> third-party extensions.
>
> Therefore I don't think we should treat our extensions any more
> special than third-party extensions, beyond reusing the same namespace
> (which we know is requested) and providing the helpful all-inclusive
> XSD.
>
>
> Do you plan to counter Stephan's current solution with an alternative?
> If so I think we should take it to a vote on Thursday.

As far as I understand, the proposed solution with an abstract element and
substitution group does not allow for legacy schemas that we cannot rewrite.

I see only one way to deal with legacy/other schemas: it's to use 
xsd:any with other namespace.
That's the solution we had in fpwd.

Our extensions do not rely on the extension mechanism since they are in 
the prov namespace.

So for me the remaining question is whether we want 1 file or 4 files 
(core, links, dict, all).
If the latter, I suggest we move documentElement (including an xsd:any) 
in all.


Luc

>

-- 
Professor Luc Moreau
Electronics and Computer Science   tel:   +44 23 8059 4487
University of Southampton          fax:   +44 23 8059 2865
Southampton SO17 1BJ               email: l.moreau@ecs.soton.ac.uk
United Kingdom                     http://www.ecs.soton.ac.uk/~lavm

Received on Tuesday, 5 February 2013 16:58:51 UTC