<div dir="auto"><div><br><br><div class="gmail_quote"><div dir="ltr">On Sun, Apr 15, 2018, 4:47 PM Don Brutzman <<a href="mailto:brutzman@nps.edu">brutzman@nps.edu</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
This email thread gets the ball rolling (or perhaps the clock ticking!)... we will need an X3D Working Group call to tackle this topic and look at SFTime issues/actions.<br></blockquote></div></div><div dir="auto"><br></div><div dir="auto">Let's see if other people chime in.</div><div dir="auto"><br></div><div dir="auto"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
==========================<br>
<br>
5. Next, regarding X3D JSON Schema.<br>
<br>
> Normally, I copy the 3.3 JSON schema to 3.0, 3.1, 3.2 and 4.0, so that will be what I do.  If this is drastically different than previous schemas for those versions, let me know.  I don’t know what I’ll do, but at least I’ll know.<br>
<br>
You can see all the variations corresponding to X3D versions in the specification itself:<br>
<br>
X3D Abstract Specification,  Annex Z (normative) Version content<br>
<a href="http://www.web3d.org/documents/specifications/19775-1/V3.3/Part01/versionContent.html" rel="noreferrer noreferrer" target="_blank">http://www.web3d.org/documents/specifications/19775-1/V3.3/Part01/versionContent.html</a><br>
<br>
So yes there are a lot of differences.  Each time we get modifications to X3D XML DTD or Schema it usually takes me maybe two hours to carefully apply diffs from X3D v3.3 to versions 3.0, 3.1, 3.2 and 4.0 then update documentation.<br></blockquote></div></div><div dir="auto"><br></div><div dir="auto">Okay, perhaps it is time to start generating the other versions for the X3DUOM.</div><div dir="auto"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
> I think it’s best to autogenerate these schema fields as snippets from the X3DUOM and upgrade the JSON schema by using autogenerated snippets.    It appears according to the standard that many of these fields are new ones. Plus snippets are less error prone.   So let’s get them into the object model soon.<br></blockquote></div></div><div dir="auto"><br></div><div dir="auto">It looks like some already are?</div><div dir="auto"><br></div><div dir="auto"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
Agreed, that is getting onto my long-range radar... autogenerating JSON Schema via XSLT stylesheet will be an excellent test of X3D Unified Object Model, and prose/links i that page are now updated online as well.<br></blockquote></div></div><div dir="auto">Please do not spend time on this.  It's more important to get more versions of the object model.</div><div dir="auto"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
X3D Unified Object Model (X3DUOM)<br>
<a href="http://www.web3d.org/specifications/X3DUOM.html" rel="noreferrer noreferrer" target="_blank">http://www.web3d.org/specifications/X3DUOM.html</a><br>
<br>
Extra-credit issues:<br>
a. generating X3DObjectModel-3.3.xml files for each X3D version<br>
    <a href="http://www.web3d.org/specifications/X3DObjectModel-3.3.xml" rel="noreferrer noreferrer" target="_blank">http://www.web3d.org/specifications/X3DObjectModel-3.3.xml</a></blockquote></div></div><div dir="auto"><br></div><div dir="auto">That's your task, Don, or someone who is familiar with your builds/Xslt.</div><div dir="auto"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
<br>
b. both X3DJSAIL and X3DJSONLD may have enough information embedded already to generate matching JSON schemas.<br></blockquote></div></div><div dir="auto"><br></div><div dir="auto">Yes, given an X3DUOM file, I should be able to create a python script or shell script which generates the JSON schema for each version with some slight modifications (commandline parameters).   We just need the X3DUOM files and a bit more testing validation of the JSON schema.  That already exists (My 5.0 and 5.1 schemas I posted).</div><div dir="auto"><br></div><div dir="auto">Unless of course, you want to create the mother of all X3DUOM files and put all the versions in one file.   We can certainly do that, but I will still probably separate out the JSON schema versions.</div></div>