[Home] [By Thread] [By Date] [Recent Entries]

  • From: Jonathan Borden <jborden@m...>
  • To: Tony Coates <Tony.Coates@r...>, xml-dev@l...
  • Date: Thu, 03 May 2001 16:02:50 -0400

Tony Coates wrote:

>
> What is the mechanism for declaring which version of the resource (schema,
say)
> 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:
http://www.rddl.org/purposes#schema-validation

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?

-Jonathan




Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member