Re: XML Schema language version

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:00:55 UTC