W3C home > Mailing lists > Public > www-xml-schema-comments@w3.org > October to December 2000

Re: content attribute ?

From: John Punin <puninj@cs.rpi.edu>
Date: Thu, 5 Oct 2000 15:16:16 -0400 (EDT)
To: "Henry S. Thompson" <ht@cogsci.ed.ac.uk>
cc: www-xml-schema-comments@w3.org, xmlschema-dev@w3.org, John Punin <puninj@cs.rpi.edu>, Moorthy <moorthy@cs.rpi.edu>
Message-ID: <Pine.GSO.4.21.0010051509080.4013-100000@wwwpal.cs.rpi.edu>
Thanks Henry.

My corrections were based on section "2.5.3 Empty content" of the XML
Schema 0 document. Could you please explain me briefly the differences
between these two corrections?. Of course, I like much better your
corrections. :-)

John


On 5 Oct 2000, Henry S. Thompson wrote:

> Your corrections are correct :-)
> 
> However, the following simpler forms are also OK:
> 
> puninj@cs.rpi.edu writes:
> 
> <xs:element name="et2">
>   <xs:complexType>
>         <xs:attribute ...>. . . </xs:attribute>
>   </xs:complexType>
> </xs:element>
> 
> 
> <xs:complexType name="myelement">
>         <xs:attributeGroup ref="myAttrGroup"/>
> </xs:complexType>
> 
> 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, 5 October 2000 15:16:38 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Sunday, 6 December 2009 18:12:48 GMT