W3C home > Mailing lists > Public > www-xml-schema-comments@w3.org > April to June 2001

'base' in 'restriction'

From: <sandygao@ca.ibm.com>
Date: Thu, 3 May 2001 12:10:45 -0400
To: www-xml-schema-comments@w3.org
Message-ID: <OFDFD281E4.B5EC1FF6-ON85256A41.00571C6A@torolab.ibm.com>
Hi,

I think there is an inconsistency in the structure spec
(http://www.w3.org/TR/xmlschema-1). According to 3.4.2, 'restriction' can
have a child element 'simpleType', in which case, the 'base' attribute in
'restriction' should be omitted. But in appendix A "Schema for Schemas",
'base' is always 'required' for 'restriction'.

My opinion is that 'base' should be 'optional' for 'restriction'.

Thanks,
Sandy Gao
Software Developer, IBM Canada
(1-416) 448-3255
sandygao@ca.ibm.com
Received on Thursday, 3 May 2001 12:15:53 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Sunday, 6 December 2009 18:12:50 GMT