W3C home > Mailing lists > Public > xmlschema-dev@w3.org > January 2003

AW: AW: anyType question again

From: Horti, Andras <andras.horti@joanneum.at>
Date: Thu, 16 Jan 2003 13:10:10 +0100
Message-ID: <A6C43780FFDFFF44803C1E5DB704CE22528B2C@iis-mail.joanneum.ac.at>
To: xmlschema-dev@w3.org

As far as I know anyType has an empty content type.

http://www.w3.org/TR/xmlschema-1/#cvc-complex-type:

  2.1 If the {content type} is empty, then the element information item has
no character or element information item [children].
  

Andras

> -----Ursprüngliche Nachricht-----
> Von: ht@cogsci.ed.ac.uk [mailto:ht@cogsci.ed.ac.uk]
> Gesendet: Donnerstag, 16. Jänner 2003 12:38
> An: Horti, Andras
> Betreff: Re: AW: anyType question again
> 
> 
> "Horti, Andras" <andras.horti@joanneum.at> writes:
> 
> > > attributes.  Why not just use xs:anyType itself?  If you need a
> > 
> > Becuase then no text nodes are allowed (if I am right the 
> DTD version allows
> > that).
> 
> anyType is mixed, so it does allow text.
> 
> ht
> -- 
>   Henry S. Thompson, HCRC Language Technology Group, 
> University of Edinburgh
>           W3C Fellow 1999--2002, 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/
>  [mail really from me _always_ has this .sig -- mail without 
> it is forged spam]
> 
Received on Thursday, 16 January 2003 07:10:16 GMT

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