XML.orgXML.org
FOCUS AREAS |XML-DEV |XML.org DAILY NEWSLINK |REGISTRY |RESOURCES |ABOUT
OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]
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]


News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 1993-2007 XML.org. This site is hosted by OASIS