Re: XML Schema language version

"C. M. Sperberg-McQueen" <[email protected]> Thu, 10 Oct 2013 18:26:27 -0600
Newsgroups gmane.text.xml.schema.devel
Message-ID <[email protected]>
On Oct 10, 2013, at 5:49 AM, Loren Cahlander wrote:

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

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=3D"http://www.w3.org/2007/XMLSchema-versioning">

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

</schema>


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