openepcis / openepcis-document-converter

Convert GS1 EPCIS events from JSON-LD to XML format and vice versa.
https://openepcis.io
Apache License 2.0
2 stars 1 forks source link

moving the xsd files from test/resources to src/main/resources. #1

Closed Aravinda93 closed 1 year ago

Aravinda93 commented 1 year ago

When the project was added as a dependency to the other projects, the SAXParser threw the following error during the XML to JSON conversion:

org.xml.sax.SAXParseException;schema_reference.4: Failed to read schema document 'null'

This was happening because the XSD files were present in test/resources to fix the issue now they have been moved to src/main/resources and the issue has been resolved now.