<div dir="ltr">I have not been able to figure out how to change the X3D JSON schema generator to convert NavigationInfo.type from array to string.  The changes so far that I've made have no effect on the schemas.<div><br></div><div>Hmmm!  Python assistance anyone?  See link in previous email.</div><div><br></div><div>Or do we replace Python with XSLT?</div><div><br>I could go either way,or toss JSON except for glTF.</div><div><br></div><div>The schema folder is next to the python folder.</div><div><br></div><div>You would run the schema generator with:</div><div><br></div><div>$ python generateSchemas.py<br></div><div><br></div><div>In the python folder (see link).</div><div><br></div><div>And then look for changes in the schema folder.</div><div><br></div><div>John</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Jan 20, 2022 at 11:43 AM John Carlson <<a href="mailto:yottzumm@gmail.com">yottzumm@gmail.com</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 dir="auto">Python experts are welcome to estimate changes, too, see: </div><div dir="auto"><br><div dir="auto"><a href="https://github.com/coderextreme/X3DJSONLD/blob/master/src/main/python/etgenerateJSONschema2020-12.py" target="_blank">https://github.com/coderextreme/X3DJSONLD/blob/master/src/main/python/etgenerateJSONschema2020-12.py</a></div></div><div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Jan 20, 2022 at 11:39 AM John Carlson <<a href="mailto:yottzumm@gmail.com" target="_blank">yottzumm@gmail.com</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 dir="auto">Cache is cleared.   Now, AFAICT, we are using XML-like syntax for NavigationInfo.type field MFStrings in JSON with “” around outside of all the SFStrings in the field.   We definitely are *not* using a JSON array.  What about url fields?  I think there’s also an MFString in the FontStyle node, but I haven’t checked that recently.</div><div dir="auto"><br></div><div dir="auto">Who will be responsible for updating JSON schema for NavigationInfo.type?   My guess is there might be lower impact if we hand edit the schema, but if we wish to automate we need to choose between changing the python generator and creating XSLT.</div><div dir="auto"><br></div><div dir="auto">I will try to estimate impact of the change on the current schema generator at the meeting on Friday.</div><div dir="auto"><br></div><div dir="auto">John</div><div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Jan 20, 2022 at 11:19 AM John Carlson <<a href="mailto:yottzumm@gmail.com" target="_blank">yottzumm@gmail.com</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 dir="auto">NavigationInfo.type in JSON has been resolved I think.</div><div dir="auto"><br></div><div dir="auto"><div><a href="https://www.web3d.org/x3d/content/examples/ConformanceNist/BindableNodes/NavigationInfo/navigationinfo.json" target="_blank">https://www.web3d.org/x3d/content/examples/ConformanceNist/BindableNodes/NavigationInfo/navigationinfo.json</a></div><br></div><div dir="auto">Looks like</div><div dir="auto"><br></div><div dir="auto"><a href="https://sourceforge.net/p/x3d/code/HEAD/tree/www.web3d.org/x3d/stylesheets/java/examples/HelloWorldProgramOutput.json" target="_blank">https://sourceforge.net/p/x3d/code/HEAD/tree/www.web3d.org/x3d/stylesheets/java/examples/HelloWorldProgramOutput.json</a></div><div dir="auto"><br></div><div dir="auto">But wait, check this one (previously posted):</div><div dir="auto"><br></div><div dir="auto"><div><a href="https://www.web3d.org/x3d/content/examples/ConformanceNist/BindableNodes/NavigationInfo/jumpcut_loadurl.json" target="_blank">https://www.web3d.org/x3d/content/examples/ConformanceNist/BindableNodes/NavigationInfo/jumpcut_loadurl.json</a></div><div dir="auto"><br></div><div dir="auto">Should I clear my cache?</div></div><div dir="auto"><br></div><div dir="auto">Thanks for clearing up any confusion on my part.</div><div dir="auto"><br></div><div dir="auto">John </div><div dir="auto"><br></div><div dir="auto"><br></div>
</blockquote></div></div>
</blockquote></div></div>
</blockquote></div>