โ10-17-2018 05:39 AM
Hi Team,
I am reading an xml file and validating against xsd in the parser. I am getting below mentioned error even there is is correct data is present in the MarketCode element.
โerrorโ: โcvc-complex-type.2.4.a: Invalid content was found starting with element โMarketCodeโ. One of โ{โurlโ:DivisionCode}โ is expected.โ
Can you please resolve the issue.
Thanks and Regards,
Gopi Bekkanti.
โ05-31-2019 05:18 PM
Hi GBekkanti,
Although MaketCode element is correct, there might be DivisionCode element which is required from the XSD schema and it is not provided in the XML file. (please post more details of the xml and xsd if this does not help).
Thanks,
Best regards, Jovan.