<div dir="ltr">Don, I just can't seem to shake this issue. I may just hardcode NaviatigationInfo.type as a JSON string type in the schema generator. I mentioned 2 X3DV4 schemas before? I don't recall. I know you've wanted to create a JSON schema generator with XSLT, but have been busy. Is there anything we can swap tasks on? I've still got a little bit of work on the #sourceCode implementation, which I hope to finish by Thursday.<div><br></div><div>If another person can accomplish a good simple XSLT Transform that outputs something that passes X3DJSON schema with that stylesheet in your message on any NavigationInfo.type containing X3D XML file, it would help greatly. Vince, anyone, can you assist? I would suggest using the Saxon 10.6 jars. Any method of scripting can be used, just make sure it's self contained. No other jars, please. A simple one-liner would be appreciated.</div><div><br></div><div>I don't know why my process creates a JSON string and Don's process creates a JSON array.</div><div><br></div><div>I'm going to move onto other things, and my users will just have to live with 2 popups when it hits a JSON string in Navigation.type.</div><div><br></div><div>I'll try to meet Monday or Friday.</div><div><br></div><div>Thanks!</div><div><br></div><div>John</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_6934341519292732509WordSection1">
<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_6934341519292732509MsoListParagraph" 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_6934341519292732509MsoListParagraph" 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_6934341519292732509MsoListParagraph" 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_6934341519292732509MsoListParagraph" 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>