Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


XML Newbie Question

From: Arun Menon <kumarmenon@-----.--->
To: xml-dev@-----.---.---
Date: 6/2/2008 4:01:00 PM
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


transparent
Print
Mail
Like It
Disclaimer
.

These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.

.
.

transparent

transparent