RE: Derivation by restriction from <any>

OK - thats what I though too.  
There is a bug in MSXML then 
"Invalid particle derivation by restriction"

_____
Simon.Cox@csiro.au  CSIRO Exploration & Mining
26 Dick Perry Avenue, Kensington WA 6151
PO Box 1130, Bentley WA 6102  AUSTRALIA
T: +61 (8) 6436 8639  F: +61 (8) 6436 8555  C: +61 (4) 0330 2672
http://www.csiro.au/page.asp?type=resume&id=CoxSimon

> -----Original Message-----
> From: ht@cogsci.ed.ac.uk [mailto:ht@cogsci.ed.ac.uk]
> Sent: Tuesday, 5 March 2002 6:28 PM
> 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 Tuesday, 5 March 2002 05:42:13 UTC