jsonix-schema-compiler icon indicating copy to clipboard operation
jsonix-schema-compiler copied to clipboard

An xsd file with two imports only imports the first of the two.

Open peter-schwier opened this issue 5 years ago • 0 comments
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"/>

peter-schwier avatar Mar 03 '20 20:03 peter-schwier