Re: Question on use="required"

Hi Anli,

> If an attribute is required you cannot specify a value constraint [1]
>
> http://www.w3.org/TR/xmlschema-1/#src-attribute
>
> 1 default and fixed must not both be present.
> 2 If default and use are both present, use must have the ·actual
> value· optional

Thanks for finding that -- I must have missed it because I was looking
for a schema component constraint rather than a schema representation
constraint! ;)

Cheers,

Jeni

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

Received on Wednesday, 14 August 2002 10:46:43 UTC