OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: using namespaces to version

Tony Coates wrote:

> What is the mechanism for declaring which version of the resource (schema,
> is the correct one for a given instance document?

Good question :-)

This is not something which is as yet standardized beyond
xsi:schemaLocation="" which is itself only a hint as to where a schema might
be located.

Using the general rule that backwards compatible changes to a schema might
stay within the same namespace, the current schema for a particular
namespace would be identified by the purpose:

Now suppose a processor wishes to validate an instance against a previous
version of a schema, it would need to know which version of the schema it
wanted to use, perhaps a version="" attribute might give a hint.

In the case where a schema is not backward compatible it probably should go
into a new namespace. Is there any other reasonable way to do this?