Re: Unable to locate a reference

hi,
Thanks very much.
I have one problem in the Schema:

<element name="ServiceBinding">
		<complexType>
			<sequence>
				<element ref="tns:Service"/>
				<element ref="tns:Override" minOccurs="0" maxOccurs="unbounded"/>
			</sequence>
			<attribute name="channelId" type="IDREF" use="required"/>
			<attribute name="packageId" type="IDREF" use="required"/>
		</complexType>
		<unique name="action.const">
			<selector xpath=".//Override"/>
			<field xpath="@action"/>
		</unique>
	</element>

And in the xml:

<tp:ServiceBinding tp:channelId="dcanal1" tp:packageId="paquete1">
  <tp:Service
tp:type="uriReference">uri:example.com/services/sellerService</tp:Service> 
  <tp:Override tp:action="orderConfirm" tp:channelId="dcanal2"
tp:packageId="paquete1"
xlink:href="http://ebxml.org/processes/buySell.xml#orderConfirm"
xlink:type="simple" /> 
  </tp:ServiceBinding>

And I obtain this error:
element override is not allowed under element <tp:ServiceBinnding> 
What is the problem, in Schema ServiceBinding have a element called
override.
Thanks very much
-- 
View this message in context: http://www.nabble.com/Unable-to-locate-a-reference-tf3987736.html#a11325566
Sent from the w3.org - xmlschema-dev mailing list archive at Nabble.com.

Received on Wednesday, 27 June 2007 14:31:11 UTC