<div dir="ltr"><div dir="ltr">I'm trying to validate with a schema this ParticleSystems file as a continuing journey towards adding a new feature to X_ITE and maybe Sunrize. One issue is that I don't know how to use a local X3D DTD and local X3D schema.  Are there options or properties in CommandLine?   These would be good to prevent CommandLine from phoning home (disconnect your computer's network connection to test).  You may place the attached .x3d file in the archive, but first, supply your own cubemaps and shaders.  If I can provide my own schema, I can help debug the problem.  Maybe I'll look into modifying X3DJSAIL.   I'd rather be creating individually morphing GPU instances.<div><br></div><div>The file displays in Sunrize OK.  The file practically validates in view3dscene.</div><div><br></div><div>The issue is XML schema, CommandLine and X3D-Edit.</div><div><br></div><div>Any hints on adding a new PhysicsModel to X_ITE welcome!  I'll check in my code there.</div><div><br></div><div>Here's the CommandLine log:</div><div><br></div><div><div>$ java -cp ~/pythonSAI/X3DJSAIL.4.0.full.jar org.web3d.x3d.jsail.CommandLine -validate particleflowers.x3d</div><div>CommandLine parameter: "-validate" for model validation</div><div>parameter: source file particleflowers.x3d filesize 9062 bytes</div><div>Parsing using Document Object Model (DOM) based X3DLoaderDOM...</div><div>[error] X3DLoaderDOM: Incorrectly handled X3DJSAIL object construction, current elementObject=BoundedPhysicsModel (BoundedPhysicsModel), child="Sphere", containerField="geometry", java.lang.ClassCastException: class org.web3d.x3d.jsail.ParticleSystems.BoundedPhysicsModel cannot be cast to class org.web3d.x3d.jsail.Shape.Shape (org.web3d.x3d.jsail.ParticleSystems.BoundedPhysicsModel and org.web3d.x3d.jsail.Shape.Shape are in unnamed module of loader 'app')</div><div>    This error can be caused by incorrect parent-child node relationships or incorrect containerField values.</div><div>    X3D node typing is strict, check or validate your scene graph!</div><div>    This error can also be caused by X3DLoaderDOM DOM omissions in X3DJSAIL. Please report mysterious problems, thank you.</div><div><br></div><div>java.lang.ClassCastException: class org.web3d.x3d.jsail.ParticleSystems.BoundedPhysicsModel cannot be cast to class org.web3d.x3d.jsail.Shape.Shape (org.web3d.x3d.jsail.ParticleSystems.BoundedPhysicsModel and org.web3d.x3d.jsail.Shape.Shape are in unnamed module of loader 'app')</div><div>        at org.web3d.x3d.jsail.X3DLoaderDOM.toX3dModelInstance(X3DLoaderDOM.java:972)</div><div>        at org.web3d.x3d.jsail.X3DLoaderDOM.toX3dModelInstance(X3DLoaderDOM.java:619)</div><div>        at org.web3d.x3d.jsail.X3DLoaderDOM.toX3dModelInstance(X3DLoaderDOM.java:619)</div><div>        at org.web3d.x3d.jsail.X3DLoaderDOM.toX3dModelInstance(X3DLoaderDOM.java:619)</div><div>        at org.web3d.x3d.jsail.X3DLoaderDOM.toX3dModelInstance(X3DLoaderDOM.java:619)</div><div>        at org.web3d.x3d.jsail.X3DLoaderDOM.toX3dModelInstance(X3DLoaderDOM.java:490)</div><div>        at org.web3d.x3d.jsail.X3DLoaderDOM.toX3dModelInstance(X3DLoaderDOM.java:453)</div><div>        at org.web3d.x3d.jsail.X3DLoaderDOM.loadModelFromFileX3D(X3DLoaderDOM.java:247)</div><div>        at org.web3d.x3d.jsail.X3DLoaderDOM.loadModelFromFileX3D(X3DLoaderDOM.java:231)</div><div>        at org.web3d.x3d.jsail.X3DLoaderDOM.loadModelFromFileX3D(X3DLoaderDOM.java:205)</div><div>        at org.web3d.x3d.jsail.CommandLine.run(CommandLine.java:922)</div><div>        at org.web3d.x3d.jsail.CommandLine.main(CommandLine.java:242)</div><div>[error] X3DLoaderDOM: Parent-child node relationship not found! (parent ParticleSystem, child BoundedPhysicsModel, containerField='physics') Please report this problem to <a href="mailto:brutzman@nps.edu">brutzman@nps.edu</a></div><div>[error] X3DLoaderDOM: Incorrectly handled X3DJSAIL object construction, current elementObject=ParticleSystem (ParticleSystem), child="BoundedPhysicsModel", containerField="physics", java.lang.ClassCastException: class org.web3d.x3d.jsail.ParticleSystems.ParticleSystem cannot be cast to class org.web3d.x3d.sai.Grouping.X3DGroupingNode (org.web3d.x3d.jsail.ParticleSystems.ParticleSystem and org.web3d.x3d.sai.Grouping.X3DGroupingNode are in unnamed module of loader 'app')</div><div>    This error can be caused by incorrect parent-child node relationships or incorrect containerField values.</div><div>    X3D node typing is strict, check or validate your scene graph!</div><div>    This error can also be caused by X3DLoaderDOM DOM omissions in X3DJSAIL. Please report mysterious problems, thank you.</div><div><br></div><div>java.lang.ClassCastException: class org.web3d.x3d.jsail.ParticleSystems.ParticleSystem cannot be cast to class org.web3d.x3d.sai.Grouping.X3DGroupingNode (org.web3d.x3d.jsail.ParticleSystems.ParticleSystem and org.web3d.x3d.sai.Grouping.X3DGroupingNode are in unnamed module of loader 'app')</div><div>        at org.web3d.x3d.jsail.X3DLoaderDOM.toX3dModelInstance(X3DLoaderDOM.java:1352)</div><div>        at org.web3d.x3d.jsail.X3DLoaderDOM.toX3dModelInstance(X3DLoaderDOM.java:619)</div><div>        at org.web3d.x3d.jsail.X3DLoaderDOM.toX3dModelInstance(X3DLoaderDOM.java:619)</div><div>        at org.web3d.x3d.jsail.X3DLoaderDOM.toX3dModelInstance(X3DLoaderDOM.java:619)</div><div>        at org.web3d.x3d.jsail.X3DLoaderDOM.toX3dModelInstance(X3DLoaderDOM.java:490)</div><div>        at org.web3d.x3d.jsail.X3DLoaderDOM.toX3dModelInstance(X3DLoaderDOM.java:453)</div><div>        at org.web3d.x3d.jsail.X3DLoaderDOM.loadModelFromFileX3D(X3DLoaderDOM.java:247)</div><div>        at org.web3d.x3d.jsail.X3DLoaderDOM.loadModelFromFileX3D(X3DLoaderDOM.java:231)</div><div>        at org.web3d.x3d.jsail.X3DLoaderDOM.loadModelFromFileX3D(X3DLoaderDOM.java:205)</div><div>        at org.web3d.x3d.jsail.CommandLine.run(CommandLine.java:922)</div><div>        at org.web3d.x3d.jsail.CommandLine.main(CommandLine.java:242)</div><div>[error] X3DLoaderDOM: Parent-child node relationship not found! (parent ParticleSystem, child ExplosionEmitter, containerField='emitter') Please report this problem to <a href="mailto:brutzman@nps.edu">brutzman@nps.edu</a></div><div>[error] X3DLoaderDOM: Incorrectly handled X3DJSAIL object construction, current elementObject=ParticleSystem (ParticleSystem), child="ExplosionEmitter", containerField="emitter", java.lang.ClassCastException: class org.web3d.x3d.jsail.ParticleSystems.ParticleSystem cannot be cast to class org.web3d.x3d.sai.Grouping.X3DGroupingNode (org.web3d.x3d.jsail.ParticleSystems.ParticleSystem and org.web3d.x3d.sai.Grouping.X3DGroupingNode are in unnamed module of loader 'app')</div><div>    This error can be caused by incorrect parent-child node relationships or incorrect containerField values.</div><div>    X3D node typing is strict, check or validate your scene graph!</div><div>    This error can also be caused by X3DLoaderDOM DOM omissions in X3DJSAIL. Please report mysterious problems, thank you.</div><div><br></div><div>java.lang.ClassCastException: class org.web3d.x3d.jsail.ParticleSystems.ParticleSystem cannot be cast to class org.web3d.x3d.sai.Grouping.X3DGroupingNode (org.web3d.x3d.jsail.ParticleSystems.ParticleSystem and org.web3d.x3d.sai.Grouping.X3DGroupingNode are in unnamed module of loader 'app')</div><div>        at org.web3d.x3d.jsail.X3DLoaderDOM.toX3dModelInstance(X3DLoaderDOM.java:1352)</div><div>        at org.web3d.x3d.jsail.X3DLoaderDOM.toX3dModelInstance(X3DLoaderDOM.java:619)</div><div>        at org.web3d.x3d.jsail.X3DLoaderDOM.toX3dModelInstance(X3DLoaderDOM.java:619)</div><div>        at org.web3d.x3d.jsail.X3DLoaderDOM.toX3dModelInstance(X3DLoaderDOM.java:619)</div><div>        at org.web3d.x3d.jsail.X3DLoaderDOM.toX3dModelInstance(X3DLoaderDOM.java:490)</div><div>        at org.web3d.x3d.jsail.X3DLoaderDOM.toX3dModelInstance(X3DLoaderDOM.java:453)</div><div>        at org.web3d.x3d.jsail.X3DLoaderDOM.loadModelFromFileX3D(X3DLoaderDOM.java:247)</div><div>        at org.web3d.x3d.jsail.X3DLoaderDOM.loadModelFromFileX3D(X3DLoaderDOM.java:231)</div><div>        at org.web3d.x3d.jsail.X3DLoaderDOM.loadModelFromFileX3D(X3DLoaderDOM.java:205)</div><div>        at org.web3d.x3d.jsail.CommandLine.run(CommandLine.java:922)</div><div>        at org.web3d.x3d.jsail.CommandLine.main(CommandLine.java:242)</div><div>[error] X3DLoaderDOM: Incorrectly handled X3DJSAIL object construction, current elementObject=ParticleSystem (ParticleSystem), child="Appearance", containerField="appearance", java.lang.ClassCastException: class org.web3d.x3d.jsail.ParticleSystems.ParticleSystem cannot be cast to class org.web3d.x3d.jsail.Shape.Shape (org.web3d.x3d.jsail.ParticleSystems.ParticleSystem and org.web3d.x3d.jsail.Shape.Shape are in unnamed module of loader 'app')</div><div>    This error can be caused by incorrect parent-child node relationships or incorrect containerField values.</div><div>    X3D node typing is strict, check or validate your scene graph!</div><div>    This error can also be caused by X3DLoaderDOM DOM omissions in X3DJSAIL. Please report mysterious problems, thank you.</div><div><br></div><div>java.lang.ClassCastException: class org.web3d.x3d.jsail.ParticleSystems.ParticleSystem cannot be cast to class org.web3d.x3d.jsail.Shape.Shape (org.web3d.x3d.jsail.ParticleSystems.ParticleSystem and org.web3d.x3d.jsail.Shape.Shape are in unnamed module of loader 'app')</div><div>        at org.web3d.x3d.jsail.X3DLoaderDOM.toX3dModelInstance(X3DLoaderDOM.java:839)</div><div>        at org.web3d.x3d.jsail.X3DLoaderDOM.toX3dModelInstance(X3DLoaderDOM.java:619)</div><div>        at org.web3d.x3d.jsail.X3DLoaderDOM.toX3dModelInstance(X3DLoaderDOM.java:619)</div><div>        at org.web3d.x3d.jsail.X3DLoaderDOM.toX3dModelInstance(X3DLoaderDOM.java:619)</div><div>        at org.web3d.x3d.jsail.X3DLoaderDOM.toX3dModelInstance(X3DLoaderDOM.java:490)</div><div>        at org.web3d.x3d.jsail.X3DLoaderDOM.toX3dModelInstance(X3DLoaderDOM.java:453)</div><div>        at org.web3d.x3d.jsail.X3DLoaderDOM.loadModelFromFileX3D(X3DLoaderDOM.java:247)</div><div>        at org.web3d.x3d.jsail.X3DLoaderDOM.loadModelFromFileX3D(X3DLoaderDOM.java:231)</div><div>        at org.web3d.x3d.jsail.X3DLoaderDOM.loadModelFromFileX3D(X3DLoaderDOM.java:205)</div><div>        at org.web3d.x3d.jsail.CommandLine.run(CommandLine.java:922)</div><div>        at org.web3d.x3d.jsail.CommandLine.main(CommandLine.java:242)</div><div>[error] X3DLoaderDOM: Incorrectly handled X3DJSAIL object construction, current elementObject=ParticleSystem (ParticleSystem), child="Sphere", containerField="geometry", java.lang.ClassCastException: class org.web3d.x3d.jsail.ParticleSystems.ParticleSystem cannot be cast to class org.web3d.x3d.jsail.Shape.Shape (org.web3d.x3d.jsail.ParticleSystems.ParticleSystem and org.web3d.x3d.jsail.Shape.Shape are in unnamed module of loader 'app')</div><div>    This error can be caused by incorrect parent-child node relationships or incorrect containerField values.</div><div>    X3D node typing is strict, check or validate your scene graph!</div><div>    This error can also be caused by X3DLoaderDOM DOM omissions in X3DJSAIL. Please report mysterious problems, thank you.</div><div><br></div><div>java.lang.ClassCastException: class org.web3d.x3d.jsail.ParticleSystems.ParticleSystem cannot be cast to class org.web3d.x3d.jsail.Shape.Shape (org.web3d.x3d.jsail.ParticleSystems.ParticleSystem and org.web3d.x3d.jsail.Shape.Shape are in unnamed module of loader 'app')</div><div>        at org.web3d.x3d.jsail.X3DLoaderDOM.toX3dModelInstance(X3DLoaderDOM.java:972)</div><div>        at org.web3d.x3d.jsail.X3DLoaderDOM.toX3dModelInstance(X3DLoaderDOM.java:619)</div><div>        at org.web3d.x3d.jsail.X3DLoaderDOM.toX3dModelInstance(X3DLoaderDOM.java:619)</div><div>        at org.web3d.x3d.jsail.X3DLoaderDOM.toX3dModelInstance(X3DLoaderDOM.java:619)</div><div>        at org.web3d.x3d.jsail.X3DLoaderDOM.toX3dModelInstance(X3DLoaderDOM.java:490)</div><div>        at org.web3d.x3d.jsail.X3DLoaderDOM.toX3dModelInstance(X3DLoaderDOM.java:453)</div><div>        at org.web3d.x3d.jsail.X3DLoaderDOM.loadModelFromFileX3D(X3DLoaderDOM.java:247)</div><div>        at org.web3d.x3d.jsail.X3DLoaderDOM.loadModelFromFileX3D(X3DLoaderDOM.java:231)</div><div>        at org.web3d.x3d.jsail.X3DLoaderDOM.loadModelFromFileX3D(X3DLoaderDOM.java:205)</div><div>        at org.web3d.x3d.jsail.CommandLine.run(CommandLine.java:922)</div><div>        at org.web3d.x3d.jsail.CommandLine.main(CommandLine.java:242)</div><div>validate results:</div><div>ROUTE toNode='x_ite' was not found in connected scene graph.</div><div><ROUTE fromNode='Animate' fromField='a' toNode='x_ite' toField='a'/></div><div>ROUTE toNode='x_ite' was not found in connected scene graph.</div><div><ROUTE fromNode='Animate' fromField='b' toNode='x_ite' toField='b'/></div><div>ROUTE toNode='x_ite' was not found in connected scene graph.</div><div><ROUTE fromNode='Animate' fromField='c' toNode='x_ite' toField='c'/></div><div>ROUTE toNode='x_ite' was not found in connected scene graph.</div><div><ROUTE fromNode='Animate' fromField='d' toNode='x_ite' toField='d'/></div><div>ROUTE toNode='x_ite' was not found in connected scene graph.</div><div><ROUTE fromNode='Animate' fromField='pdelta' toNode='x_ite' toField='pdelta'/></div><div>ROUTE toNode='x_ite' was not found in connected scene graph.</div><div><ROUTE fromNode='Animate' fromField='tdelta' toNode='x_ite' toField='tdelta'/></div></div></div></div>