W3C home > Mailing lists > Public > xmlschema-dev@w3.org > May 2001

RE: simpleType in restriction

From: Yongjiang <zhangyongjiang@yahoo.com>
Date: Wed, 30 May 2001 13:52:44 -0700
To: "Jeff Lowery" <jlowery@scenicsoft.com>, <xmlschema-dev@w3.org>
Message-ID: <NEBBIAKHIDOOJOKKDBHMGEEKCGAA.zhangyongjiang@yahoo.com>
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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 11 January 2011 00:14:21 GMT