RE: Derivation by restriction from <any>

Upon investigating the W3C XML Schema Structures specification I've had
some difficulty locating where it specifies that one-to-many particle
derivations are acceptable. I would appreciate a pointer to where in the
recommendation it mentions that this is possible. From what I've read[0]
particle derivation is a one-to-one affair. 

Thanks. 

[0]
http://www.w3.org/TR/2001/REC-xmlschema-1-20010502/#cd-model-restriction

-- 
THINGS TO DO IF I BECOME AN EVIL OVERLORD #230
I will not procrastinate regarding any ritual granting immortality.


> -----Original Message-----
> From: Henry S. Thompson [mailto:ht@cogsci.ed.ac.uk] 
> Sent: Tuesday, March 05, 2002 2:28 AM
> To: Simon.Cox@csiro.au
> Cc: xmlschema-dev@w3.org
> Subject: Re: Derivation by restriction from <any>
> 
> 
> Simon.Cox@csiro.au writes:
> 
> > Is it possible to derive by restriction starting with an <any>?
> > 
> > e.g.
> > 
> > <complexType name="basetype">
> >   <sequence>
> >     <any maxOccurs="unbounded"/>
> >   </sequence>
> > </complexType>
> > 
> > <complexType name="newtype">
> >   <complexContent>
> >     <restriction base="my:basetype">
> >       <sequence>
> >         <element name="e1" type="string"/>
> >         <element name="e2" type="integer" minOccurs="0"/>
> >         <element name="e3" type="date" minOccurs="0"/>
> >       </sequence>    
> >     </restriction>
> >   </complexContent>
> > </complexType>
> 
> Yes, that should be fine.
> 
> ht
> -- 
>   Henry S. Thompson, HCRC Language Technology Group, 
> University of Edinburgh
>           W3C Fellow 1999--2001, part-time member of W3C Team
>      2 Buccleuch Place, Edinburgh EH8 9LW, SCOTLAND -- (44) 
> 131 650-4440
> 	    Fax: (44) 131 650-4587, e-mail: ht@cogsci.ed.ac.uk
> 		     URL: http://www.ltg.ed.ac.uk/~ht/
> 
> 

Received on Thursday, 7 March 2002 16:46:28 UTC