<div dir="ltr"><div>Okay. I think I got the right file download.  I don't see anything different on my local subversion reposiitory:<br></div><div>```</div><div>$ diff X3dToJson\ \(1\).xslt /c/x3d-code/<a href="http://www.web3d.org/x3d/stylesheets/X3dToJson.xslt">www.web3d.org/x3d/stylesheets/X3dToJson.xslt</a><br></div><div>[no output]</div><div>```</div><div>Next:</div><div>``</div><div>$ diff X3dToJson\ \(1\).xslt /c/x3d-code/<a href="http://www.web3d.org/x3d/stylesheets/java/lib/stylesheets/X3dToJson.xslt">www.web3d.org/x3d/stylesheets/java/lib/stylesheets/X3dToJson.xslt</a> |wc<br>   2114   13318  164475<br></div><div>```</div><div>2114 lines of patch.  Why is there so much to patch in the latter example.  I really feel like I want to dig into the jars...to find some honey? I feel scratchy like a Pooh Bear after the gorse bush.</div><div><br></div><div>I have been using the former, but I don't get the same results you have in the X3D examples archives.  I can't access many JSON files in SourceForge...can you recommend one that has NavigationInfo.type correct?  I've already put out my flower child. I don't have any diffs or updates left in subversion.</div><div><br></div><div>Here's the status of X3DJSONLD Currently:</div><div>```</div><div>john@DESKTOP-8OPL3IE MINGW64 /c/x3d-code/<a href="http://www.web3d.org/x3d/stylesheets">www.web3d.org/x3d/stylesheets</a><br>$ cp X3dToJson.xslt ~/X3DJSONLD/src/main/lib/stylesheets/<br><br>john@DESKTOP-8OPL3IE MINGW64 /c/x3d-code/<a href="http://www.web3d.org/x3d/stylesheets">www.web3d.org/x3d/stylesheets</a><br>$ cd ~/X3DJSONLD/src/main/lib/stylesheets/<br><br>john@DESKTOP-8OPL3IE MINGW64 ~/X3DJSONLD/src/main/lib/stylesheets (master)<br>$ git diff .<br></div><div>```</div><div><br></div><div>Let's choose an X3D file, Here's one:  Downloading the X3D model and copying it to my working folder:</div><div> <a href="https://www.web3d.org/x3d/content/examples/ConformanceNist/BindableNodes/NavigationInfo/jumpcut_loadurlIndex.html">Conformance Nist X3D Examples Archive, Bindable Nodes, Navigation Info, jumpcut loadurl (web3d.org)</a></div><div>```</div><div>john@DESKTOP-8OPL3IE MINGW64 ~/X3DJSONLD/src/main/lib/stylesheets (master)<br>$ cp ~/Downloads/jumpcut_loadurl.x3d ../../data<br></div><div><br></div><div>john@DESKTOP-8OPL3IE MINGW64 ~/X3DJSONLD/src/main/lib/stylesheets (master)<br>$ cd ../../data<br><br>john@DESKTOP-8OPL3IE MINGW64 ~/X3DJSONLD/src/main/data (master)<br>$ cd ../shell/<br></div><div><br></div><div>john@DESKTOP-8OPL3IE MINGW64 ~/X3DJSONLD/src/main/shell (master)<br>$ bash several.sh ../data/jumpcut_loadurl.x3d<br></div><div>[ tons of information[</div><div><br></div><div>john@DESKTOP-8OPL3IE MINGW64 ~/X3DJSONLD/src/main/shell (master)<br>$ cd ../data<br></div><div>```</div><div>View JSON file in terminal: </div><div><br></div><div><br></div><div><img src="cid:ii_kyl0bulu0" alt="image.png" width="562" height="344"><br></div><div><br></div><div>Looks wrong, correct?  Validate jumpcut_loadurl.json file at bottom and folder in title bar.</div><div><br></div><div>Now we go back to <a href="http://web3d.org">web3d.org</a>.  Click on the json link.</div><div><br></div><div><img src="cid:ii_kyl0ekx31" alt="image.png" width="562" height="424"><br></div><div><br></div><div>The NavigationInfo looks different between the onine version and my terminal emulator right?</div><div><br></div><div>What is Happening? As you say.</div><div><br></div><div>This is why I want to dig in to jars.  I've already boiled the XML -> JSON process down to stylesheets, if you want to revisit that. I do use RunSaxon.java, which is different that xslt3 (which doesn't work) and the saxon jar (I think I'm up-to-date there).</div><div><br></div><div>```</div><div>$ grep saxon ~/X3DJSONLD/src/main/java/net/coderextreme/RunSaxon.java<br>                                                net.sf.saxon.Transform.main(new String[] {<br>                                                net.sf.saxon.Transform.main(new String[] {<br></div><div><br></div><div>$ jar -tf X3DJSAIL.4.0.full.jar |grep net.sf.saxon.Transform</div>net/sf/saxon/Transform$TransformThread.class<br>net/sf/saxon/Transform.class<br>net/sf/saxon/TransformerFactoryImpl.class<div><br><div>$ jar -tf X3DJSAIL.4.0.full.jar |grep X3dToJson.xslt<br>stylesheets/X3dToJson.xslt<br></div></div><div><br></div><div>john@DESKTOP-8OPL3IE MINGW64 ~/pythonSAI (master)<br>$ jar -xf X3DJSAIL.4.0.full.jar stylesheets/X3dToJson.xslt<br><br>john@DESKTOP-8OPL3IE MINGW64 ~/pythonSAI (master)<br>$ cd stylesheets/<br><br><br>john@DESKTOP-8OPL3IE MINGW64 ~/pythonSAI (master)<br>$ diff X3dToJson.xslt /c/x3d-code/<a href="http://www.web3d.org/x3d/stylesheets/java/lib/stylesheets/X3dToJson.xslt">www.web3d.org/x3d/stylesheets/java/lib/stylesheets/X3dToJson.xslt</a> <br></div><div>[ tons of output ] <br></div><div><br></div><div>john@DESKTOP-8OPL3IE MINGW64 ~/pythonSAI/stylesheets (master)<br>$ diff X3dToJson.xslt /c/x3d-code/<a href="http://www.web3d.org/x3d/stylesheets/java/lib/stylesheets/X3dToJson.xslt">www.web3d.org/x3d/stylesheets/java/lib/stylesheets/X3dToJson.xslt</a><br></div><div>[tons of output]</div><div><br></div><div>john@DESKTOP-8OPL3IE MINGW64 ~/pythonSAI/stylesheets (master)<br>$ cp X3dToJson.xslt ..<br></div><div><br></div><div>john@DESKTOP-8OPL3IE MINGW64 ~/X3DJSONLD/src/main/shell (master)<br>$ bash several.sh ../data/jumpcut_loadurl.x3d<br></div><div>```</div><div>The important thing here is I found another version of X3dToJson.xslt in the ~/pythonSAI folder...but I don't think that helps.</div><div><br></div><div>Try again:</div><div>```</div><div><br>john@DESKTOP-8OPL3IE MINGW64 /c/x3d-code/<a href="http://www.web3d.org/x3d/stylesheets">www.web3d.org/x3d/stylesheets</a><br>$ diff X3dToJson.xslt ~/pythonSAI/X3dToJson.xslt<br><br>john@DESKTOP-8OPL3IE MINGW64 /c/x3d-code/<a href="http://www.web3d.org/x3d/stylesheets">www.web3d.org/x3d/stylesheets</a><br>$ diff X3dToJson.xslt ~/pythonSAI/stylesheets/<br><br>john@DESKTOP-8OPL3IE MINGW64 /c/x3d-code/<a href="http://www.web3d.org/x3d/stylesheets">www.web3d.org/x3d/stylesheets</a><br>$ diff X3dToJson.xslt ~/X3DJSONLD/src/main/lib/stylesheets/<br></div><div>```</div><div>Are there any other comparisons to make? IDK at this point.  There's a maven repository! No difference from published.</div><div><br></div><div>Will now download X3DJSAIL jar from web.</div><div><br></div><div>This is interesting. Do you expect people to download from the Web?  Because Microsoft blocked Java on Edge.   Death to Java!  Long live TypeScript!</div><div><img src="cid:ii_kyl1xftq2" alt="image.png" width="418" height="286"><br></div><div><br></div><div>So I'm concluding you're using a stylesheet in a jar that no casual user can download!</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Jan 18, 2022 at 8:08 PM Brutzman, Donald (Don) (CIV) <<a href="mailto:brutzman@nps.edu">brutzman@nps.edu</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">





<div lang="EN-US" style="overflow-wrap: break-word;">
<div class="gmail-m_-270598696591924974WordSection1">
<p class="MsoNormal">John, as ever, all of the latest is on sourceforge in version control.<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">“Digging into jars” is certainly not recommended.  We are not burying treasure, we are publishing openly.<u></u><u></u></p>
<p class="MsoNormal"><br>
Correct name of stylesheet: X3dToJson.xslt meaning that it transforms .x3d models (in XML) to .json<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">See the “Code” button which is two buttons to the left of the (suddenly popular) “Tickets” button.<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<ul style="margin-top:0in" type="disc">
<li class="gmail-m_-270598696591924974MsoListParagraph" style="margin-left:0in"><a href="https://sourceforge.net/projects/x3d" target="_blank">https://sourceforge.net/projects/x3d</a><u></u><u></u></li><li class="gmail-m_-270598696591924974MsoListParagraph" style="margin-left:0in"><a href="https://sourceforge.net/p/x3d/code/HEAD/tree" target="_blank">https://sourceforge.net/p/x3d/code/HEAD/tree</a><u></u><u></u></li><li class="gmail-m_-270598696591924974MsoListParagraph" style="margin-left:0in"><a href="https://sourceforge.net/p/x3d/code/HEAD/tree/www.web3d.org/x3d/stylesheets" target="_blank">https://sourceforge.net/p/x3d/code/HEAD/tree/www.web3d.org/x3d/stylesheets</a><u></u><u></u></li><li class="gmail-m_-270598696591924974MsoListParagraph" style="margin-left:0in"><a href="https://sourceforge.net/p/x3d/code/HEAD/tree/www.web3d.org/x3d/stylesheets/X3dToJson.xslt" target="_blank">https://sourceforge.net/p/x3d/code/HEAD/tree/www.web3d.org/x3d/stylesheets/X3dToJson.xslt</a><u></u><u></u></li></ul>
<p class="MsoNormal"><span style="font-size:10pt;font-family:"Courier New""><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:10pt;font-family:"Courier New"">all the best, Don<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:10pt;font-family:"Courier New"">-- <u></u>
<u></u></span></p>
<p class="MsoNormal"><span style="font-size:10pt;font-family:"Courier New"">Don Brutzman  Naval Postgraduate School, Code USW/Br        <a href="mailto:brutzman@nps.edu" target="_blank">brutzman@nps.edu</a><u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:10pt;font-family:"Courier New"">Watkins 270,  MOVES Institute, Monterey CA 93943-5000 USA    +1.831.656.2149<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:10pt;font-family:"Courier New"">X3D graphics, virtual worlds, Navy robotics https://</span>
<span style="font-size:10pt;font-family:"Courier New""><a href="http://faculty.nps.edu/brutzman" target="_blank">faculty.nps.edu/brutzman</a><u></u><u></u></span></p>
<p class="MsoNormal"><u></u> <u></u></p>
<div style="border-right:none;border-bottom:none;border-left:none;border-top:1pt solid rgb(225,225,225);padding:3pt 0in 0in">
<p class="MsoNormal"><b>From:</b> x3d-public <<a href="mailto:x3d-public-bounces@web3d.org" target="_blank">x3d-public-bounces@web3d.org</a>> <b>On Behalf Of
</b>John Carlson<br>
<b>Sent:</b> Tuesday, January 18, 2022 5:04 PM<br>
<b>To:</b> X3D Graphics public mailing list <<a href="mailto:x3d-public@web3d.org" target="_blank">x3d-public@web3d.org</a>><br>
<b>Subject:</b> [x3d-public] Apologies for X3dJson.xslt snafu<u></u><u></u></p>
</div>
<p class="MsoNormal"><u></u> <u></u></p>
<div>
<p class="MsoNormal">I apologize for my behavior and I now understand people’s reactions.   I understand that both possible X3dToJson.xslt files may be out of date.   Can someone send me a stylesheet that produces Navigation.type as a JSON array and also has
 #sourceCode?  It doesn’t have to be checked in or anything, and I won’t save it in my repos.   I just need these two fixes to get past X3D JSON Schema without 2 validation alerts per X3D JSON file in my web app.  (Don’t ask, “Why two?”)<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">Humbly trying to progress, willing to take responsibility.<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">If no one responds, I will start digging into jars.<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">John<u></u><u></u></p>
</div>
</div>
</div>

</blockquote></div>