Showing results for 
Search instead for 
Did you mean: 

sapcorejcorec - XSD schema validation fail

Former Member
0 Kudos

I'm using hybris 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?

Accepted Solutions (0)

Answers (0)