RE: Fixed element value w/ simple type

Sandy:
I think it's OK.  Could be worded better, perhaps.

5.2.2.2.2 applies to the complex type of the element in question.

All the best, Ashok

> -----Original Message-----
> From: www-xml-schema-comments-request@w3.org [mailto:www-xml-schema-
> comments-request@w3.org] On Behalf Of Sandy Gao
> Sent: Friday, July 11, 2003 9:28 AM
> To: www-xml-schema-comments@w3.org
> Subject: Fixed element value w/ simple type
> 
> 
> Maybe I'm misreading the spec, but it's not clear from the spec what
to do
> in this case. Bullet 5.2.2.2 of constraint [1] deals with default
element
> value. 5.2.2.2.1 talks about complex type with mixed content, and
> 5.2.2.2.2
> talks about complex type with simple type content. So there is no rule
for
> elements with simple types.
> 
> Maybe 5.2.2.2.2 should be changed to say if the actual type is a
simple
> type or if it's a complex type with simple type content?
> 
> Thanks,
> Sandy Gao
> Software Developer, IBM Canada
> (1-905) 413-3255
> sandygao@ca.ibm.com
> 

Received on Friday, 11 July 2003 18:12:52 UTC