Re: XML Schema language version

The document at http://www.w3.org/2007/XMLSchema-versioning/ needs to be updated.  There are typos, "How it workds."  The example in that section is wrong.

The example in http://www.w3.org/TR/xmlschema11-1/#cip is much better.


Sent from my iPad

> On Oct 3, 2013, at 10:00 AM, "C. M. Sperberg-McQueen" <cmsmcq@blackmesatech.com> wrote:
> 
> 
>> On Oct 3, 2013, at 3:34 AM, XML Dev wrote:
>> 
>> Hi,
>> 
>> I just want to mention that vc:maxVersion="1.1" would lead to an empty schema document for a 1.1 processor (see http://www.w3.org/TR/xmlschema11-1/#cip) :
>> 
>> "If V is less than the value of vc:minVersion, or if V is greater than or equal to the value of vc:maxVersion, then the element on which the attribute appears is to be ignored, along with all its attributes and descendants. The effect is that portions of the schema document marked with vc:minVersion and/or vc:maxVersion are retained if vc:minVersion ≤ V < vc:maxVersion."
>> 
>> So if vc:maxVersion is used as hint for the schema version a value of "1.1" should mean: validate in schema 1.0 mode.
> 
> Good catch.
> 
> -- 
> ****************************************************************
> * C. M. Sperberg-McQueen, Black Mesa Technologies LLC
> * http://www.blackmesatech.com 
> * http://cmsmcq.com/mib                 
> * http://balisage.net
> ****************************************************************
> 
> 
> 
> 
> 

Received on Thursday, 3 October 2013 14:41:10 UTC