W3C home > Mailing lists > Public > www-xml-schema-comments@w3.org > April to June 2001

correction in section 2.8 example in XML Primer

From: Gignac Donald A CRBE <GignacDA@nswccd.navy.mil>
Date: Thu, 3 May 2001 14:05:56 -0400
Message-ID: <1F9F67162ADED3119F18009027A8F404C60414@crbeex03.dt.navy.mil>
To: "'www-xml-schema-comments@w3.org'" <www-xml-schema-comments@w3.org>
Cc: "Garner F J (Joe) CRBE" <GarnerFJ@nswccd.navy.mil>, "Westbrook Evelyn L (Lori) CRBE" <WestbrookEL@nswccd.navy.mil>, Junod L J II CRBE <JunodLJ@nswccd.navy.mil>
In the example "Adding Attributes to Inline Type definition" in section 2.8 "Attribute Groups" of the XML Primer, the value of the "name" attribute in
	<xsd:element name="Item" minOccurs="0" maxOccurs="unbounded">
should be "item" instead of "Item" to be consistent with 
	We can accomplish this by adding weightKg and shipBy attribute declarations to the item element's (anonymous) type 	definition: 
and
	<xsd:element name="item" minOccurs="0" maxOccurs="unbounded">
in the second example "Adding Attributes using an Attribute Group". Please disregard my previous comment regarding this anomaly.

Donald Gignac	"gignacda@nswccd.navy.mil"	301-227-3348
Received on Thursday, 3 May 2001 14:07:01 GMT

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