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

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

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

And in the xml:

<tp:ServiceBinding tp:channelId="dcanal1" tp:packageId="paquete1">
  <tp:Override tp:action="orderConfirm" tp:channelId="dcanal2"
xlink:type="simple" /> 

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

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 14:56:12 UTC