W3C home > Mailing lists > Public > xmlschema-dev@w3.org > January 2020

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

From: Mukul Gandhi <gandhi.mukul@gmail.com>
Date: Mon, 27 Jan 2020 19:41:41 +0530
Message-ID: <CABuuzNMWASqvRWSdEGnpph0dySCjMuZsVVKkdJ68Qe=YvPgjsw@mail.gmail.com>
To: "xmlschema-dev@w3.org" <xmlschema-dev@w3.org>
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
Received on Monday, 27 January 2020 14:12:01 UTC

This archive was generated by hypermail 2.4.0 : Monday, 27 January 2020 14:12:02 UTC