W3C home > Mailing lists > Public > xmlschema-dev@w3.org > June 2007

Re: Unable to locate a reference

From: lissette <glorianchu18@hotmail.com>
Date: Wed, 27 Jun 2007 07:31:07 -0700 (PDT)
Message-ID: <11325566.post@talk.nabble.com>
To: xmlschema-dev@w3.org



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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 11 January 2011 00:14:59 GMT