[XMLSCHEMA-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

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

Subscribe to the Stylus Scoop newsletter for helpful XML tips and tutorials.
Email
First Name
Last Name
Company

Download Stylus Studio 6 XML Enterprise Edition

Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2007 All Rights Reserved.