W3C home > Mailing lists > Public > xmlschema-dev@w3.org > August 2002

Re: Question on use="required"

From: Jeni Tennison <jeni@jenitennison.com>
Date: Wed, 14 Aug 2002 15:46:41 +0100
Message-ID: <199177437962.20020814154641@jenitennison.com>
To: Anli Shundi <ashundi@tibco.com>
CC: xmlschema-dev@w3.org

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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 11 January 2011 00:14:34 GMT