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: 
	<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 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 23:08:52 UTC