W3C home > Mailing lists > Public > www-xml-schema-comments@w3.org > July to September 2003

RE: Fixed element value w/ simple type

From: Ashok Malhotra <ashokma@microsoft.com>
Date: Fri, 11 Jul 2003 15:12:36 -0700
Message-ID: <E5B814702B65CB4DA51644580E4853FB0961C1D6@red-msg-12.redmond.corp.microsoft.com>
To: "Sandy Gao" <sandygao@ca.ibm.com>, <www-xml-schema-comments@w3.org>

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

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 14:50:01 UTC