<html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=utf-8"><meta name=Generator content="Microsoft Word 15 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:#954F72;
        text-decoration:underline;}
.MsoChpDefault
        {mso-style-type:export-only;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style></head><body lang=EN-US link=blue vlink="#954F72"><div class=WordSection1><p class=MsoNormal>Maybe I can clarify.  I have been testing FILE output from X3DJSAIL. Real XML and JSON files.  Not just validation results.</p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>John</p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Sent from <a href="https://go.microsoft.com/fwlink/?LinkId=550986">Mail</a> for Windows 10</p><p class=MsoNormal><o:p> </o:p></p><div style='mso-element:para-border-div;border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0in 0in 0in'><p class=MsoNormal style='border:none;padding:0in'><b>From: </b><a href="mailto:yottzumm@gmail.com">John Carlson</a><br><b>Sent: </b>Wednesday, May 24, 2017 12:06 AM<br><b>To: </b><a href="mailto:brutzman@nps.edu">Don Brutzman</a><br><b>Cc: </b><a href="mailto:x3d-public@web3d.org">X3D Graphics public mailing list</a><br><b>Subject: </b>RE: X3DJSAIL: Interesting exception, but it couldbemyfault.Re:CommentsBlock.</p></div><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Sorry, file output.  XML and JSON files as output from X3DJSAIL.<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>John<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Sent from <a href="https://go.microsoft.com/fwlink/?LinkId=550986">Mail</a> for Windows 10<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><div style='border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0in 0in 0in'><p class=MsoNormal><b>From: </b><a href="mailto:brutzman@nps.edu">Don Brutzman</a><br><b>Sent: </b>Wednesday, May 24, 2017 12:03 AM<br><b>To: </b><a href="mailto:yottzumm@gmail.com">John Carlson</a><br><b>Cc: </b><a href="mailto:x3d-public@web3d.org">X3D Graphics public mailing list</a><br><b>Subject: </b>Re: X3DJSAIL: Interesting exception, but it could bemyfault.Re:CommentsBlock.<o:p></o:p></p></div><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>cc: group due to potentially general interest<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>On 5/23/2017 8:37 PM, John Carlson wrote:<o:p></o:p></p><p class=MsoNormal>> Just to let you know, I don’t test the output from your Java programs, since there is none!<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>not sure what you mean, actually seems like there is plenty.  console log from Tuesday night available at:<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>http://www.web3d.org/x3d/content/examples/build.log.java.txt<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>example excerpts:<o:p></o:p></p><p class=MsoNormal>================<o:p></o:p></p><p class=MsoNormal>X3D examples: Vrml2Sourcebook.processScenes.java:<o:p></o:p></p><p class=MsoNormal>Verifying Apache Ant XML Catalog resolver classpath: C:\apache-ant-1.10.1\lib/resolver.jar (84091 bytes)<o:p></o:p></p><p class=MsoNormal>C:\x3d-code\www.web3d.org\x3d\content\examples\Vrml2Sourcebook/Chapter02Introduction//Figure02_1Hut.java produced from Figure02_1Hut.x3d<o:p></o:p></p><p class=MsoNormal>Compiling 1 source file to C:\x3d-code\www.web3d.org\x3d\content\examples\Vrml2Sourcebook\classes<o:p></o:p></p><p class=MsoNormal>now run and validate the java model<o:p></o:p></p><p class=MsoNormal>java -classpath classes;../../../stylesheets/java/jars/X3DJSAIL.3.3.classes.jar;C:\x3d-code\www.web3d.org\x3d\tools\jar/saxon9he.jar Vrml2Sourcebook.Chapter02Introduction.Figure02_1Hut<o:p></o:p></p><p class=MsoNormal>Figure02_1Hut execution self-validation test results: success<o:p></o:p></p><p class=MsoNormal>================<o:p></o:p></p><p class=MsoNormal>C:\x3d-code\www.web3d.org\x3d\content\examples\Vrml2Sourcebook/Chapter03Shapes//Figure03_01DefaultBox.java produced from Figure03_01DefaultBox.x3d<o:p></o:p></p><p class=MsoNormal>Compiling 1 source file to C:\x3d-code\www.web3d.org\x3d\content\examples\Vrml2Sourcebook\classes<o:p></o:p></p><p class=MsoNormal>now run and validate the java model<o:p></o:p></p><p class=MsoNormal>java -classpath classes;../../../stylesheets/java/jars/X3DJSAIL.3.3.classes.jar;C:\x3d-code\www.web3d.org\x3d\tools\jar/saxon9he.jar Vrml2Sourcebook.Chapter03Shapes.Figure03_01DefaultBox<o:p></o:p></p><p class=MsoNormal>Figure03_01DefaultBox execution self-validation test results: success<o:p></o:p></p><p class=MsoNormal>================<o:p></o:p></p><p class=MsoNormal>C:\x3d-code\www.web3d.org\x3d\content\examples\Vrml2Sourcebook/Siggraph98Course//HeadsUpDisplayHUD.java produced from HeadsUpDisplayHUD.x3d<o:p></o:p></p><p class=MsoNormal>/** Large attribute array: Coordinate point field, scene-graph level=5, element #27, 36 total numbers made up of 12 3-tuple values */<o:p></o:p></p><p class=MsoNormal>[Large tuple found: Coordinate point, $tupleCount=12, $tupleSplitSize=10, string-length=167]<o:p></o:p></p><p class=MsoNormal>/** Large attribute array: IndexedFaceSet coordIndex field, scene-graph level=5, element #32, 9920 total numbers */<o:p></o:p></p><p class=MsoNormal>/** Large attribute array: Coordinate point field, scene-graph level=6, element #32, 6144 total numbers made up of 2048 3-tuple values */<o:p></o:p></p><p class=MsoNormal>[Large tuple found: Coordinate point, $tupleCount=2048, $tupleSplitSize=10, string-length=55971]<o:p></o:p></p><p class=MsoNormal>/** Large attribute array: IndexedFaceSet coordIndex field, scene-graph level=5, element #37, 9920 total numbers */<o:p></o:p></p><p class=MsoNormal>/** Large attribute array: Coordinate point field, scene-graph level=6, element #37, 6144 total numbers made up of 2048 3-tuple values */<o:p></o:p></p><p class=MsoNormal>[Large tuple found: Coordinate point, $tupleCount=2048, $tupleSplitSize=10, string-length=55945]<o:p></o:p></p><p class=MsoNormal>Compiling 1 source file to C:\x3d-code\www.web3d.org\x3d\content\examples\Vrml2Sourcebook\classes<o:p></o:p></p><p class=MsoNormal>Compile failed; see the compiler error output for details.<o:p></o:p></p><p class=MsoNormal>now run and validate the java model<o:p></o:p></p><p class=MsoNormal>java -classpath classes;../../../stylesheets/java/jars/X3DJSAIL.3.3.classes.jar;C:\x3d-code\www.web3d.org\x3d\tools\jar/saxon9he.jar Vrml2Sourcebook.Siggraph98Course.HeadsUpDisplayHUD<o:p></o:p></p><p class=MsoNormal>Error: Could not find or load main class Vrml2Sourcebook.Siggraph98Course.HeadsUpDisplayHUD<o:p></o:p></p><p class=MsoNormal>Java Result: 1<o:p></o:p></p><p class=MsoNormal>================<o:p></o:p></p><p class=MsoNormal>etc.<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>> That could be a problem.  That’s why I prefer to rely on my Java and my patches.  I can revisit the patches if you like.<o:p></o:p></p><p class=MsoNormal>> <o:p></o:p></p><p class=MsoNormal>> What I would suggest is provide an output folder as a parameter to the X3dToJava.xslt stylesheet.  If one isn’t provided, then do not generate any file output, or call any toFile*() method.<o:p></o:p></p><p class=MsoNormal>have kept it simple, validation output is returned as a string.  for the test block invoked by the main, it goes to the output console.<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>this is is up to the invoking build script or test method to push results into a folder.<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>all the best, Don<o:p></o:p></p><p class=MsoNormal>-- <o:p></o:p></p><p class=MsoNormal>Don Brutzman  Naval Postgraduate School, Code USW/Br       brutzman@nps.edu<o:p></o:p></p><p class=MsoNormal>Watkins 270,  MOVES Institute, Monterey CA 93943-5000 USA   +1.831.656.2149<o:p></o:p></p><p class=MsoNormal>X3D graphics, virtual worlds, navy robotics http://faculty.nps.edu/brutzman<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal><o:p> </o:p></p></div></body></html>