<div dir="ltr">Here are errors we get when trying to compile BoxManC.java, first with X3dToJava.xslt version, then with JavaSerializer.js version.<div><br></div><div>Thanks!</div><div><br></div><div>$ javac -cp ~/pythonSAI/X3DJSAIL.4.0.full.jar net/x3djsonld/data/BoxManC.java<br>net\x3djsonld\data\BoxManC.java:347: error: no suitable method found for addViewpoints(Viewpoint)<br>      .addViewpoints(new Viewpoint("Inclined_View").setDescription("Inclined View").setOrientation(0.0f,1.0f,0.0f,.78f).setPosition(2.0f,1.0f,2.0f))<br>      ^<br>    method HAnimHumanoid.addViewpoints(HAnimSite) is not applicable<br>      (argument mismatch; Viewpoint cannot be converted to HAnimSite)<br>    method HAnimHumanoid.addViewpoints(ProtoInstance) is not applicable<br>      (argument mismatch; Viewpoint cannot be converted to ProtoInstance)<br>    method HAnimHumanoid.addViewpoints(X3DNode[]) is not applicable<br>      (argument mismatch; Viewpoint cannot be converted to X3DNode[])<br>1 error<br></div><div><br></div><div><br></div><div><br></div><div><br></div><div>$ javac -cp ~/pythonSAI/X3DJSAIL.4.0.full.jar net/coderextreme/data/BoxManC.java<br>net\coderextreme\data\BoxManC.java:175: error: cannot find symbol<br>          .addViewpoint(new Viewpoint().setDEF("Inclined_View").setDescription("Inclined View").setOrientation(new float[] {0f,1f,0f,0.78f}).setPosition(new float[] {2f,1f,2f}))<br>          ^<br>  symbol:   method addViewpoint(Viewpoint)<br>  location: class HAnimHumanoid<br>1 error</div><div><br></div><div>Here is the JSON error when trying to validate BoxManC.json:</div><div><br></div><div>Loading schema<br>Parsing schema<br>Adding schema<br>Schema 3.0 added<br>Schema 3.0 compiled<br>================================================================================<br>File: BoxManC.json<br>Error reading BoxManC.json<br> keyword: additionalProperties<br> dataPath: X3D > Scene > -children > 3 > HAnimHumanoid<br> value: {"@name":"Humanoid","@DEF":"HUMANOID","@info":"|omitted|","@version":"2.<br>0","-skeleton":"|omitted|","-children":"|omitted|","-skinCoord":"|omitted|","-sk<br>in":"|omitted|","-joints":"|omitted|","-sites":"|omitted|","-segments":"|omitted<br>|","-viewpoints":"|omitted|"}<br> message: should not have additional properties<br> params: {"additionalProperty":"@name"}<br> file: BoxManC.json<br> version: 3.0<br><br> keyword: additionalProperties<br> dataPath: X3D > Scene > -children > 3 > HAnimHumanoid > -viewpoints > 0<br> value: {"Viewpoint":"|omitted|"}<br> message: should not have additional properties<br> params: {"additionalProperty":"Viewpoint"}<br> file: BoxManC.json<br> version: 3.0<br><br> keyword: oneOf<br> dataPath: X3D > Scene > -children > 3 > HAnimHumanoid<br> value: {"@name":"Humanoid","@DEF":"HUMANOID","@info":"|omitted|","@version":"2.<br>0","-skeleton":"|omitted|","-children":"|omitted|","-skinCoord":"|omitted|","-sk<br>in":"|omitted|","-joints":"|omitted|","-sites":"|omitted|","-segments":"|omitted<br>|","-viewpoints":"|omitted|"}<br> message: should match exactly one schema in "oneOf"<br> params: {"passingSchemas":null}<br> file: BoxManC.json<br> version: 3.0<br></div><div><br></div><div>Probably it's some issue with version, or putting Viewpoints in an HAnimSite.  Not really sure.</div><div><br></div><div>John</div><div><br></div><div><br></div></div>