- From: Yongjiang <zhangyongjiang@yahoo.com>
- Date: Wed, 30 May 2001 13:52:44 -0700
- To: "Jeff Lowery" <jlowery@scenicsoft.com>, <xmlschema-dev@w3.org>
Thanks to Jeff.
More question: can I use 'base' attribute and 'simpleType' at the same time.
For example:
<simpleType name="fivePosInts">
<restriction base="integer">
<simpleType>
<list itemType="positiveInteger"/>
</simpleType>
<length value="5"/>
</restriction>
</simpleType>
> -----Original Message-----
> From: Jeff Lowery [mailto:jlowery@scenicsoft.com]
> Sent: Wednesday, May 30, 2001 1:36 PM
> To: 'Kevin'; xmlschema-dev@w3.org
> Subject: RE: simpleType in restriction
>
>
> > In the definition of restriction:
> > <restriction
> > base = QName
> > id = ID
> > {any attributes with non-schema namespace . . .}>
> > Content: (annotation?, (simpleType?, (minExclusive | minInclusive |
> > maxExclusive | maxInclusive | totalDigits | fractionDigits | length |
> > minLength | maxLength | enumeration | whiteSpace | pattern)*))
> > </restriction>
>
> <simpleType name="fivePosInts">
> <restriction>
> <simpleType>
> <list itemType="positiveInteger"/>
> </simpleType>
> <length value="5"/>
> </restriction>
> </simpleType>
_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com
Received on Wednesday, 30 May 2001 16:50:43 UTC