Description
I am brand new to using the schema compiler, and not very familiar with the xml schema notation. I ran the shiporder example, and got the expected results. I am trying to convert a large complex xml schema that uses the building block below.
Running the compiler using the command line below did not generate any files. Any guidance you can provide would be much appreciated.
Thanks. Peter
java -jar ./jsonix-schema-compiler-full-2.3.9.jar -generateJsonSchema -d mappings -logLevel DEBUG xml_test.xsd
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns="http://www.w3.org/1999/xhtml"
xmlns:xml="http://www.w3.org/XML/1998/namespace"
targetNamespace="http://www.w3.org/XML/1998/namespace"
xml:lang="en">
<xs:attribute name="lang">
xs:simpleType
<xs:union memberTypes="xs:language">
xs:simpleType
<xs:restriction base="xs:string">
<xs:enumeration value=""/>
</xs:restriction>
</xs:simpleType>
</xs:union>
</xs:simpleType>
</xs:attribute>
<xs:attribute name="space">
xs:simpleType
<xs:restriction base="xs:NCName">
<xs:enumeration value="default"/>
<xs:enumeration value="preserve"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
<xs:attribute name="base" type="xs:anyURI">
</xs:attribute>
<xs:attribute name="id" type="xs:ID">
</xs:attribute>
<xs:attributeGroup name="specialAttrs">
<xs:attribute ref="xml:base"/>
<xs:attribute ref="xml:lang"/>
<xs:attribute ref="xml:space"/>
<xs:attribute ref="xml:id"/>
</xs:attributeGroup>
</xs:schema>