XSD 1.1 structures spec: section, 3.3.4.3 Element Locally Valid (Element)

Mukul Gandhi <[email protected]> Mon, 27 Jan 2020 19:41:41 +0530
Newsgroups gmane.text.xml.schema.devel
Message-ID <CABuuzNMWASqvRWSdEGnpph0dySCjMuZsVVKkdJ68Qe=YvPgjsw@mail.gmail.com>
--000000000000af890d059d1fb018
Content-Type: text/plain; charset="UTF-8"

Hi all,
   I was not sure, where to discuss this issue, and thought that this list
would be fine to discuss this.

I've been reading this section,
https://www.w3.org/TR/xmlschema11-1/#sec-cvc-elt from the XSD 1.1 spec.
This says within this section,
<quote>
Informally, an element is locally valid against an element declaration when:
1. ...
2. ...
3. Any xsi:nil attribute on the element obeys the rules. The element is
allowed to have an xsi:nil attribute only if the element is declared
nillable, and xsi:nil = 'true' is allowed only if the element itself is
empty. If the element declaration specifies a fixed value for the element,
xsi:nil='true' will make the element invalid.
4. ...
</quote>

On the point number 3. cited above, the first phrase says 'Any xsi:nil
attribute on the element obeys the rules.'. Perhaps this phrase could have
been written as following, 'Any xsi:nil attribute on the element obeys
following rules.'. i.e this is a minor editorial suggestion to improve the
English grammar of the cited phrase.



-- 
Regards,
Mukul Gandhi

http://member.acm.org/~mukulgandhi

--000000000000af890d059d1fb018
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">Hi all,<div>=C2=A0 =C2=A0I was not sure, where to discuss =
this issue, and thought that this list would be fine to discuss this.</div>=
<div><br></div><div>I&#39;ve been reading this section,=C2=A0<a href=3D"htt=
ps://www.w3.org/TR/xmlschema11-1/#sec-cvc-elt">https://www.w3.org/TR/xmlsch=
ema11-1/#sec-cvc-elt</a>=C2=A0from the XSD 1.1 spec. This says within this =
section,</div><div>&lt;quote&gt;</div><div>Informally, an element is locall=
y valid against an element declaration when:<br></div><div>1. ...</div><div=
>2. ...</div><div>3. Any xsi:nil attribute on the element obeys the rules. =
The element is allowed to have an xsi:nil attribute only if the element is =
declared nillable, and xsi:nil =3D &#39;true&#39; is allowed only if the el=
ement itself is empty. If the element declaration specifies a fixed value f=
or the element, xsi:nil=3D&#39;true&#39; will make the element invalid.<br>=
</div><div>4. ...</div><div>&lt;/quote&gt;</div><div><br></div><div>On the =
point number 3. cited above, the first phrase says &#39;Any xsi:nil attribu=
te on the element obeys the rules.&#39;. Perhaps this phrase could have bee=
n written as following, &#39;Any xsi:nil attribute on the element obeys fol=
lowing rules.&#39;. i.e this is a minor editorial suggestion to improve the=
 English grammar of the cited phrase.</div><div><br></div><div><br clear=3D=
"all"><div><br></div>-- <br><div dir=3D"ltr" class=3D"gmail_signature" data=
-smartmail=3D"gmail_signature"><div dir=3D"ltr"><div><div dir=3D"ltr"><div>=
Regards,<br>Mukul Gandhi</div><div><br></div><div><a href=3D"http://member.=
acm.org/~mukulgandhi" target=3D"_blank">http://member.acm.org/~mukulgandhi<=
/a></div></div></div></div></div></div></div>

--000000000000af890d059d1fb018--