jsonix-schema-compiler
jsonix-schema-compiler copied to clipboard
An xsd file with two imports only imports the first of the two.
trafficstars
I had to tweak the xsd file so that the MXDataTypes.xsd file would "include" the MXIntegrationMeta.xsd file because the parser could not handle two import elements with the same namespace.
<xsd:import namespace="http://www.tva.com/services/integration" schemaLocation="CanonicalComponents/MXDataTypes.xsd"/>
<xsd:import namespace="http://www.tva.com/services/integration" schemaLocation="CanonicalComponents/MXIntegrationMeta.xsd"/>