[x3d-public] Old email, re JSON Loader using X3DLoaderDOM.java test case (overrided by recent code in test folder).

John Carlson yottzumm at gmail.com
Sat Jun 19 19:24:02 PDT 2021


Here was a previous email, it's probably still relevant except line 
numbers.  If you want a JSON output from the JSON loader, this is the 
way to go, since the classpath includes the X3DJSAIL jar.  I am unsure 
how to do that in NetBeans.  If we could enter the debugger with an ant 
target, that would be WAY cool.

John

On 6/10/21 5:44 PM, John Carlson wrote:
> /c/x3d-code/www.web3d.org/x3d/stylesheets/java/src$ cat converstion.sh
> javac -cp ../jars/X3DJSAIL.4.0.full.jar:. 
> net/coderextreme/JsonConversion.java
> java -cp ../jars/X3DJSAIL.4.0.full.jar:. net.coderextreme.JsonConversion
>
> # reads in ../examples/HelloWorldProgramOutput.json and converts to 
> xml and json via X3DLoaderDOM.java.  It looks like certain logic in 
> X3DLoaderDOM may not be working around line 1017 and 1045.   I will 
> look into setting breakpoints in netbeans (first time I bring up 
> X3DJSAIL in a debugger--should be exciting!).
>
>
> /c/x3d-code/www_web3d_org/x3d/stylesheets/java/src$ sh converstion.sh 
> 2>&1 |grep "\*\*\*"|grep relationship
> *** [X3DLoaderDOM error] Parent-child node relationship not found! 
> (parent DISEntityManager, child DISEntityTypeMapping, 
> containerField='') Please report this problem to brutzman at nps.edu
> *** [X3DLoaderDOM error] Parent-child node relationship not found! 
> (parent DISEntityManager, child DISEntityTypeMapping, 
> containerField='') Please report this problem to brutzman at nps.edu
> *** [X3DLoaderDOM error] Parent-child node relationship not found! 
> (parent LoadSensor, child Anchor, containerField='') Please report 
> this problem to brutzman at nps.edu
> *** [X3DLoaderDOM error] Parent-child node relationship not found! 
> (parent LoadSensor, child Inline, containerField='') Please report 
> this problem to brutzman at nps.edu
> *** [X3DLoaderDOM error] Parent-child node relationship not found! 
> (parent LoadSensor, child DISEntityTypeMapping, containerField='') 
> Please report this problem to brutzman at nps.edu
> *** [X3DLoaderDOM error] Parent-child node relationship not found! 
> (parent LoadSensor, child GeoMetadata, containerField='') Please 
> report this problem to brutzman at nps.edu
> *** [X3DLoaderDOM error] Parent-child node relationship not found! 
> (parent LoadSensor, child AudioClip, containerField='') Please report 
> this problem to brutzman at nps.edu
> *** [X3DLoaderDOM error] Parent-child node relationship not found! 
> (parent LoadSensor, child ImageCubeMapTexture, containerField='') 
> Please report this problem to brutzman at nps.edu
> *** [X3DLoaderDOM error] Parent-child node relationship not found! 
> (parent LoadSensor, child ImageTexture3D, containerField='') Please 
> report this problem to brutzman at nps.edu
> *** [X3DLoaderDOM error] Parent-child node relationship not found! 
> (parent LoadSensor, child ImageTexture, containerField='') Please 
> report this problem to brutzman at nps.edu
> *** [X3DLoaderDOM error] Parent-child node relationship not found! 
> (parent LoadSensor, child MovieTexture, containerField='') Please 
> report this problem to brutzman at nps.edu
> *** [X3DLoaderDOM error] Parent-child node relationship not found! 
> (parent LoadSensor, child Script, containerField='') Please report 
> this problem to brutzman at nps.edu
> *** [X3DLoaderDOM error] Parent-child node relationship not found! 
> (parent LoadSensor, child PackagedShader, containerField='') Please 
> report this problem to brutzman at nps.edu
> *** [X3DLoaderDOM error] Parent-child node relationship not found! 
> (parent LoadSensor, child ShaderPart, containerField='') Please report 
> this problem to brutzman at nps.edu
> *** [X3DLoaderDOM error] Parent-child node relationship not found! 
> (parent LoadSensor, child ShaderProgram, containerField='') Please 
> report this problem to brutzman at nps.edu
>



More information about the x3d-public mailing list