Re: XML Schema language version

Loren Cahlander <[email protected]> Thu, 3 Oct 2013 10:40:37 -0400
Newsgroups gmane.text.xml.schema.devel
Message-ID <[email protected]>
--Apple-Mail-A31FD5DE-B454-4D70-98ED-DA7AA7FE1EEC
Content-Type: text/plain;
	charset=utf-8
Content-Transfer-Encoding: quoted-printable

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

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@blackmesatec=
h.com> wrote:
>=20
>=20
>> On Oct 3, 2013, at 3:34 AM, XML Dev wrote:
>>=20
>> Hi,
>>=20
>> I just want to mention that vc:maxVersion=3D"1.1" would lead to an empty s=
chema document for a 1.1 processor (see http://www.w3.org/TR/xmlschema11-1/#=
cip) :
>>=20
>> "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 attribut=
e appears is to be ignored, along with all its attributes and descendants. T=
he effect is that portions of the schema document marked with vc:minVersion a=
nd/or vc:maxVersion are retained if vc:minVersion =E2=89=A4 V < vc:maxVersio=
n."
>>=20
>> 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.
>=20
> Good catch.
>=20
> --=20
> ****************************************************************
> * C. M. Sperberg-McQueen, Black Mesa Technologies LLC
> * http://www.blackmesatech.com=20
> * http://cmsmcq.com/mib                =20
> * http://balisage.net
> ****************************************************************
>=20
>=20
>=20
>=20
>=20

--Apple-Mail-A31FD5DE-B454-4D70-98ED-DA7AA7FE1EEC
Content-Type: text/html;
	charset=utf-8
Content-Transfer-Encoding: quoted-printable

<html><head><meta http-equiv=3D"content-type" content=3D"text/html; charset=3D=
utf-8"></head><body dir=3D"auto"><div>The document at <a href=3D"http://www.=
w3.org/2007/XMLSchema-versioning/">http://www.w3.org/2007/XMLSchema-versioni=
ng/</a> needs to be updated. &nbsp;There are typos, "How it workds." &nbsp;T=
he example in that section is wrong.</div><div><br></div><div>The example in=
&nbsp;<a href=3D"http://www.w3.org/TR/xmlschema11-1/#cip">http://www.w3.org/=
TR/xmlschema11-1/#cip</a>&nbsp;is much better.</div><div><br><br>Sent from m=
y iPad</div><div><br>On Oct 3, 2013, at 10:00 AM, "C. M. Sperberg-McQueen" &=
lt;<a href=3D"mailto:[email protected]">[email protected]</a>&=
gt; wrote:<br><br></div><blockquote type=3D"cite"><div><span></span><br><spa=
n>On Oct 3, 2013, at 3:34 AM, XML Dev wrote:</span><br><span></span><br><blo=
ckquote type=3D"cite"><span>Hi,</span><br></blockquote><blockquote type=3D"c=
ite"><span></span><br></blockquote><blockquote type=3D"cite"><span>I just wa=
nt to mention that vc:maxVersion=3D"1.1" would lead to an empty schema docum=
ent for a 1.1 processor (see <a href=3D"http://www.w3.org/TR/xmlschema11-1/#=
cip">http://www.w3.org/TR/xmlschema11-1/#cip</a>) :</span><br></blockquote><=
blockquote type=3D"cite"><span></span><br></blockquote><blockquote type=3D"c=
ite"><span>"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 a=
ttribute appears is to be ignored, along with all its attributes and descend=
ants. The effect is that portions of the schema document marked with vc:minV=
ersion and/or vc:maxVersion are retained if vc:minVersion =E2=89=A4 V &lt; v=
c:maxVersion."</span><br></blockquote><blockquote type=3D"cite"><span></span=
><br></blockquote><blockquote type=3D"cite"><span>So if vc:maxVersion is use=
d as hint for the schema version a value of "1.1" should mean: validate in s=
chema 1.0 mode.</span><br></blockquote><span></span><br><span>Good catch.</s=
pan><br><span></span><br><span>-- </span><br><span>*************************=
***************************************</span><br><span>* C. M. Sperberg-McQ=
ueen, Black Mesa Technologies LLC</span><br><span>* <a href=3D"http://www.bl=
ackmesatech.com">http://www.blackmesatech.com</a> </span><br><span>* <a href=
=3D"http://cmsmcq.com/mib">http://cmsmcq.com/mib</a> &nbsp;&nbsp;&nbsp;&nbsp=
;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</s=
pan><br><span>* <a href=3D"http://balisage.net">http://balisage.net</a></spa=
n><br><span>****************************************************************=
</span><br><span></span><br><span></span><br><span></span><br><span></span><=
br><span></span><br></div></blockquote></body></html>=

--Apple-Mail-A31FD5DE-B454-4D70-98ED-DA7AA7FE1EEC--