<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>Additional nashorn update (new replacement zip)</p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal><a href="https://coderextreme.net/X3DJSONLD/nashorn2.zip">https://coderextreme.net/X3DJSONLD/nashorn2.zip</a></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, January 3, 2018 2:33 PM<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-public@web3d.org</a>; <a href="mailto:brutzman@nps.edu">brutzman@nps.edu</a><br><b>Subject: </b>RE: patch forwww.web3d.org/x3d/stylesheets/java/build.xmlX3DJSAILexamples, CommandLine andConfigurationProperties</p></div><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Patches attached (but back out your changes first). Otherwise, patch build.xml, run test.nashorn, and compare outputs between java/examples and java/nashorn/examples, and apply your own fixes to X3DJSAIL until you get agreement between the JSON files (2) and X3D XML files (3).<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>There will still be a difference between the X3D XML files, previously mentioned and perhaps patched by you (MetadataString), so perhaps working from your changes, and applying mine selectively would be best (but please at least patch build.xml—you can call the OutputOutput files whatever you like, just let me know).<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:yottzumm@gmail.com">John Carlson</a><br><b>Sent: </b>Wednesday, January 3, 2018 2:24 PM<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-public@web3d.org</a>; <a href="mailto:brutzman@nps.edu">brutzman@nps.edu</a><br><b>Subject: </b>RE: patch for www.web3d.org/x3d/stylesheets/java/build.xmlX3DJSAILexamples, CommandLine and ConfigurationProperties<o:p></o:p></p></div><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Okay, last set of fixes went downhill. XML output from JavaScript program: HelloWorldProgramOutputOutput.js (and HelloWorldProgram.java) and HelloWorldProgramOutput.java differ, see attached patch.  JSON output from HelloWorldProgram.java and HelloWorldProgramOutput.java has similar differences (derived from XML likely).<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>I see no changes to support setting a stylesheet engine from the command line in X3DObject.java, but I’ve hardcoded changes into X3DObject.java.<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Please back out your changes and accept my changes.  I will send my changes again, I guess.<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>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, January 3, 2018 1:29 PM<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-public@web3d.org</a>; <a href="mailto:brutzman@nps.edu">brutzman@nps.edu</a><br><b>Subject: </b>Re: patch for www.web3d.org/x3d/stylesheets/java/build.xml X3DJSAILexamples, CommandLine and ConfigurationProperties<o:p></o:p></p></div><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>On 1/2/2018 9:57 AM, John Carlson wrote:<o:p></o:p></p><p class=MsoNormal>> Patch for java/build.xml attached. Added fork property. You may want to change the classpath to go along with what you want.<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Of interest... please advise why you've needed it.  That feature is in a number of our build files but it isn't always clear why it's needed.<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>> I added “Output” to many products.<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>OK - please describe what you are doing and motivation, to aid in understanding.<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>> We are quite close to fixing test.nashorn. Just need to fix a few more Immels,<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>hopefully this morning's update helped with Immel quote escaping...<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>> and a stylesheet engine property for HelloWorldProgramOutput.java.<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>sorry but still not clear what you need...  CommandLine invocation includes such support already.  All of the java source (such as HelloWorldProgramOutput.java) already has methods available to change it already too.<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>                X3DJSAIL CommandLine (has had some updates in past week)<o:p></o:p></p><p class=MsoNormal>                http://www.web3d.org/specifications/java/X3dJavaSceneAuthoringInterface.html#CommandLine<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>                X3DJSAIL Utility Methods and Functionality: ConfigurationProperties<o:p></o:p></p><p class=MsoNormal>                http://www.web3d.org/specifications/java/X3dJavaSceneAuthoringInterface.html#UtilityMethods<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>==============================<o:p></o:p></p><p class=MsoNormal>HelloWorldProgram.java excerpt<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>                private void showSceneResults()<o:p></o:p></p><p class=MsoNormal>                {<o:p></o:p></p><p class=MsoNormal>                                ConfigurationProperties.setPropertiesFileName(ConfigurationProperties.PROPERTIES_FILENAME_DEFAULT);<o:p></o:p></p><p class=MsoNormal>                                System.out.println ("ConfigurationProperties.getPropertiesFileName()=" + ConfigurationProperties.getPropertiesFileName());<o:p></o:p></p><p class=MsoNormal>                                ConfigurationProperties.loadProperties();<o:p></o:p></p><p class=MsoNormal>                                ConfigurationProperties.setShowDefaultAttributes(true); // tested satisfactorily<o:p></o:p></p><p class=MsoNormal>                                ConfigurationProperties.setIndentCharacter(ConfigurationProperties.indentCharacter_DEFAULT);<o:p></o:p></p><p class=MsoNormal>                                ConfigurationProperties.setIndentIncrement(ConfigurationProperties.indentIncrement_DEFAULT);<o:p></o:p></p><p class=MsoNormal>                                // Restore default settings for spacing, increments and showing default attribute=value pairs<o:p></o:p></p><p class=MsoNormal>                                ConfigurationProperties.setX3dCanonicalForm();<o:p></o:p></p><p class=MsoNormal>                                ConfigurationProperties.initialize(); // restore all defaults<o:p></o:p></p><p class=MsoNormal>==============================<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>onward!<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><p class=MsoNormal><o:p> </o:p></p></div></body></html>