inaccurate statement in Schema Primer

Section 3.1 "Target Namespaces & Unqualified Locals" (http://www.w3.org/TR/xmlschema-0/#UnqualLocals) states
	We next define a type called PurchaseOrderType that consists of the elements shipTo, billTo, comment, etc. 	PurchaseOrderType is also included in the schema's target namespace. Notice that the type references in the three 	element declarations are prefixed, i.e. po:USAddress, po:USAddress and po:comment, ...
This refers to
	<complexType name="PurchaseOrderType">
	<sequence> 
	<element name="shipTo" type="po:USAddress"/> 
	<element name="billTo" type="po:USAddress"/> 
	<element ref="po:comment" minOccurs="0"/> <!-- etc. --> 
	</sequence> <!-- etc. --> 
	</complexType> 

in the preceding example. However, "po:comment" is a "ref" reference. I recommend that

	the type references in the three element declarations 

be rewritten as

	the two type references and the ref reference in the three element declarations 

for greater clarity.

Donald Gignac	301-227-3348	"gignacda@nswccd.navy.mil"	

Received on Wednesday, 4 April 2001 09:37:13 UTC