<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>As far as I can tell, that code does not return anything.  There are two unrelated variables.</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:brutzman@nps.edu">Don Brutzman</a><br><b>Sent: </b>Monday, April 3, 2017 12:39 PM<br><b>To: </b><a href="mailto:yottzumm@gmail.com">John Carlson</a>; <a href="mailto:Job@alexkern.de">Alex Kern</a>; <a href="mailto:roy.walmsley@ntlworld.com">Roy Walmsley</a><br><b>Cc: </b><a href="mailto:x3d-public@web3d.org">X3D Graphics public mailing list</a><br><b>Subject: </b>initial release: X3D to Java translations, javadoc in X3D ExamplesArchives</p></div><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Am happy to report that initial release of 250 Java translations for X3D programs in the Web3D Example Archives is now online.</p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Initial releases include X3dForWebAuthors and X3dForAdvancedModeling.</p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>                http://x3dgraphics.com/examples/X3dForWebAuthors</p><p class=MsoNormal>                http://x3dgraphics.com/examples/X3dForWebAuthors/javadoc</p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>                http://x3dgraphics.com/examples/X3dForAdvancedModeling</p><p class=MsoNormal>                http://x3dgraphics.com/examples/X3dForAdvancedModeling/javadoc</p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>As described in the docs, this uses the X3dToJava.xslt stylesheet for conversions.  Each index page for each example model has links to corresponding java and javadoc (as well as .x3d .x3dv .json x3dom cobweb html etc. of course) for comparison.</p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>John, this should really help us with ongoing testing and improvement of X3DJSAIL API and X3D Java programs.  Thanks for your patience with the short hiatus for this important unit-testing milestone.  It is pretty exciting actually since it lets us compare java-to-java code patterns and also can make the API even better.</p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>                X3D Java Scene Access Interface Library (X3DJSAIL)</p><p class=MsoNormal>                http://www.web3d.org/specifications/java/X3DJSAIL.html</p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Let's pick one model as an example.  How about BoxSwitch.x3d scene:</p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>                http://x3dgraphics.com/examples/X3dForAdvancedModeling/Animation/BoxSwitchIndex.html</p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>                http://x3dgraphics.com/examples/X3dForAdvancedModeling/Animation/BoxSwitch.java</p><p class=MsoNormal>                http://x3dgraphics.com/examples/X3dForAdvancedModeling/javadoc/index.html?X3dForAdvancedModeling/Animation/BoxSwitch.html</p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>                http://x3dgraphics.com/examples/X3dForAdvancedModeling/Animation/BoxSwitch.json</p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>John, please skip past the header and javadoc business and look closely at the java/json source below.  This will also help us debug and improve the .json converters at the same time.  How do these versions look?  Improvements and conundrums welcome...  Files also attached "for the official record."  8)</p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>The challenge encountered during this process was the need to rename directory names and file names to omit hyphen and period characters - those are not allowed as Java package or class names.  A number of rename fixes were made for X3dForAdvancedModeling.  *Hopefully the corresponding online link fixes are satisfactory* - trouble reports welcome.  Next "on deck" is the VRML 2 Sourcebook, lots of renaming is necessary for this to work.  Naming conventions can be found in the X3D Scene Authoring Hints at</p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>                http://www.web3d.org/x3d/content/examples/X3dSceneAuthoringHints.html#NamingConventions</p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>As an example of debugging strength, this publishing process revealed a number of conversion problems for MFDouble, SFImage, field/fieldValue.addChild invocations, etc.  All discovered deficiencies fixed in the converter, no new bugs found on X3DJSAIL, changes checked in steadily, continued progress expected.</p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>So, onward we go.  Have fun with X3D Java!  8)</p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>all the best, Don</p><p class=MsoNormal>-- </p><p class=MsoNormal>Don Brutzman  Naval Postgraduate School, Code USW/Br       brutzman@nps.edu</p><p class=MsoNormal>Watkins 270,  MOVES Institute, Monterey CA 93943-5000 USA   +1.831.656.2149</p><p class=MsoNormal>X3D graphics, virtual worlds, navy robotics http://faculty.nps.edu/brutzman</p><p class=MsoNormal><o:p> </o:p></p></div></body></html>