Re: XML Schema language version

On Oct 10, 2013, at 5:49 AM, Loren Cahlander wrote:

> I fully agree.  Max means less than or equal, not less than.
> 
> The example in http://www.w3.org/2007/XMLSchema-versioning/ matches the general understaning of max.  

It also matches the initial description of the vc:* namespace, but not the final one.

> The second value in the example should have been min and not max.

The way to write this to get the behavior described is:

<schema ... xmlns:vc="http://www.w3.org/2007/XMLSchema-versioning">

  <complexType name="T"  vc:maxVersion="1.2" >
    ... definition for version 1.0 and 1.1 processors ...
  </complexType>
  <complexType name="T" vc:minVersion="1.2" >
    ... definition for 1.2 and later processors ... 
  </complexType>

</schema>


-- 
****************************************************************
* C. M. Sperberg-McQueen, Black Mesa Technologies LLC
* http://www.blackmesatech.com 
* http://cmsmcq.com/mib                 
* http://balisage.net
****************************************************************

Received on Friday, 11 October 2013 00:26:51 UTC