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>

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'.

Sandy Gao
Software Developer, IBM Canada
(1-416) 448-3255
Received on Thursday, 3 May 2001 12:15:53 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 14:49:56 UTC