Re: clause 3.2 of Element Locally Valid (Element)

Hi Sandy,

> Clause 3.2 of Element Locally Valid (Element) is mentioned many time
> in the spec, in the form of "... is (not) satisfied / did (not)
> apply". The content of such clause is:
>
> "3.2 If {nillable} is true and there is such an attribute information item
> and its ·actual value· is true , then all of the following must be true:
> 3.2.1 The element information item must have no character or element
> information item [children].
> 3.2.2 There must be no fixed {value constraint}."
>
> Then to determine whether 3.2 is satisfied or did apply, should we
> consider 3.2.1 and 3.2.2. That is, if "nillable == true" and
> "xsi:nil == true", but one of 3.2.1 and 3.2.2 is not satisfied,
> whether 3.2 is satisfied (or did apply)?

As I understand it, Clause 3.2 applies when nillable equals true and
there is an xsi:nil attribute whose value is true.

Clause 3.2 is satisfied if it applies (as above) and Clauses 3.2.1 and
3.2.2 are satisfied (true).

If Clause 3.2 applies but is not satisfied (i.e. either of Clause
3.2.1 or 3.2.2 are false), then the element is invalid.

Cheers,

Jeni

---
Jeni Tennison
http://www.jenitennison.com/

Received on Monday, 10 December 2001 19:30:28 UTC