Skip to Content
1
Former Member
Jan 16, 2018 at 03:23 PM

sapcorejcorec - XSD schema validation fail

106 Views

I'm using hybris 6.0.0.0 and sapcorejcorec to create mocks for ERP system calls. I've written a test with @JCoRecording(mode = JCoRecMode.RECORDING) and generated an xml file with test data.

When sapcorejcorec tries to run mock and to get data from generated xml, I get

org.xml.sax.SAXParseException: cvc-elt.4.3: Type 'Structure' is not validly derived from the type definition, 'DataTable', of element 'RowTable'

Since Hybris uses its own OOTB xsd schema hybris\bin\ext-integration\sap\core\sapcorejcorec\resources\validation100.xsd my question is why xsd and hybris-produced xml aren't compatible?