- From: Sandy Gao <sandygao@ca.ibm.com>
- Date: Fri, 11 Jul 2003 18:17:35 -0400
- To: "Ashok Malhotra" <ashokma@microsoft.com>
- Cc: www-xml-schema-comments@w3.org
> 5.2.2.2.2 applies to the complex type of the element in question. Right. But I'm concerned with the case where the element has a simple type and a fixed value constraint. There is no constraint for this case. 5.2.2.2 only deals with cases where the element has a complex type. Thanks, Sandy Gao Software Developer, IBM Canada (1-905) 413-3255 sandygao@ca.ibm.com "Ashok Malhotra" <ashokma@microsof To: Sandy Gao/Toronto/IBM@IBMCA, <www-xml-schema-comments@w3.org> t.com> cc: Subject: RE: Fixed element value w/ simple type 07/11/2003 06:12 PM 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:17:53 UTC