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

XML Newbie Question

  • From: Arun Menon <kumarmenon@y...>
  • To: xml-dev@l...
  • Date: Mon, 2 Jun 2008 09:00:56 -0700 (PDT)

XML Newbie Question

Hi

I was wondering if someonw could help out a noob.. For some reason my file is not validating thru Oxygen . I have tried a bunch of different things but it did not work.

Does this error mean anything to you guys.

SystemID: C:\workspace\TestXML\output.xml
Location: 45:4
Description: cvc-complex-type.2.4.d: Invalid content was found starting with element 'errors'. No child element is expected at this point.
URL: http://www.w3.org/TR/xmlschema-1/#cvc-complex-type

Please see attached my xsd and xml

Would really appreciate it what is wrong with xsd

-Arun


Arun Menon
203.796.0069

<?xml version='1.0' encoding='utf-8' ?>
<jdeResponse xmlns="urn:jde/services/InvokeJDEBusinessFunction"
 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
 xsi:schemaLocation="urn:jde/services/InvokeJDEBusinessFunction ../../Documents%20and%20Settings/amenon/Desktop/jderesponse.xsd"
 pwd="AM20water"
 type="callmethod"
 user="AMENON"
 session="2302.1211509547.3"
 environment="JPY7334">
	<callMethod app='BSE' name='InsertItemMasterRow' runOnError='no'>
		<returnCode code='2'/>
		<params>
			<param name='mnShortItemNumber'>98253</param>
			<param name='szSecondItemNumber'>TESTxxxxxx</param>
			<param name='szThirdItemNumber'>TESTxxxxxx</param>
			<param name='szItemDescription1'>TESTxxxxxx</param>
			<param name='szItemDescription2'>TESTsfhfksdjhkjdfs</param>
			<param name='szPrimaryUnitOfMeasure'>EA</param>
			<param name='cStockingType'>S</param>
			<param name='szLineType'></param>
			<param name='szGLClassCode'>WS</param>
			<param name='cSuppressErrorMessages'></param>
			<param name='szErrorMessageID'>1021</param>
			<param name='cLevelPurchasingPrice'></param>
			<param name='szProgramId'></param>
			<param name='cActionCode'>A</param>
			<param name='szSalesCatalogSection'></param>
			<param name='szSubSection'></param>
			<param name='szSalesCategoryCode3'></param>
			<param name='szSalesCategoryCode4'></param>
			<param name='szSalesCategoryCode5'></param>
			<param name='szCommodityClass'></param>
			<param name='szCommoditySubClass'></param>
			<param name='szVendorRebateCode'></param>
			<param name='szMasterPlanningFamily'></param>
			<param name='szPurchasingrCategoryCode5'></param>
			<param name='mnBuyerNumber'>0</param>
			<param name='mnLeadtimeLevel'>0</param>
			<param name='mnPlannerNumber'>0</param>
			<param name='cOrderPolicyCode'></param>
			<param name='cIssueTypeCode'></param>
			<param name='cErrorCode'>1</param>
			<param name='cEv01LanguageType'></param>
		</params>
		<errors>
			<error code='1021'>Error: Duplicate Records Not Allowed</error>
		</errors>
	</callMethod>
</jdeResponse>

3515083200-jderesponse.xsd



[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]


PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

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-2013 All Rights Reserved.