Description
Running the compiler on X3D 3.4 xsd I got the following error:
$ java -jar /Users/johncarlson/Source/jsonix-schema-compiler/full/target/jsonix-schema-compiler-full-2.3.7-SNAPSHOT.jar x3d-3.4.xsd
[WARNING] Simple type "inputOutputAccessTypes" was not mapped to Enum due to EnumMemberSizeCap limit. Facets count: 357, current limit: 256. You can use customization attribute "typesafeEnumMaxMembers" to extend the limit.
line 1370 of file:/Users/johncarlson/Downloads/www.web3d.org/specifications/x3d-3.4.xsd
Here's how I fixed it:
$ cat x3d.xjb
<?xml version="1.0" ?>
<bindings version="1.0" xmlns="http://java.sun.com/xml/ns/jaxb" schemaLocation="x3d-3.4.xsd">
<bindings>
<globalBindings typesafeEnumMaxMembers="600"/>
</bindings>
</bindings>
$ java -jar jsonix-schema-compiler/full/target/jsonix-schema-compiler-full-2.3.7-SNAPSHOT.jar x3d-3.4.xsd -b x3d.xjb
I haven't verified the schema yet, because I have no documents which match the schema yet. Good luck