<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>I don’t see XvlShell under the 3.0 object model.  Will you remove it from the JSON examples?</p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Thanks,</p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>John</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>Sunday, April 15, 2018 11:59 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 Graphics public mailing list</a>; <a href="mailto:x3d@web3d.org">X3D Graphics member mailing list</a>; <a href="mailto:npolys@vt.edu">npolys@vt.edu</a><br><b>Subject: </b>RE: X3D JSON Schema Updates: determining event constraints forSFTimedurations and timestamps</p></div><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Don’t forget XvlShell and @headlight under the Object Model 3.0 (I will check).<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><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>Sunday, April 15, 2018 11:02 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 Graphics public mailing list</a>; <a href="mailto:x3d@web3d.org">X3D Graphics member mailing list</a>; <a href="mailto:npolys@vt.edu">npolys@vt.edu</a><br><b>Subject: </b>Re: X3D JSON Schema Updates: determining event constraints for SFTimedurations and timestamps<o:p></o:p></p></div><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>[John: minor annoyance, dueling mailer issues.  When i Reply using plain text to your MS-html email, it seems like the indentation styles get lost and it is very difficult to say who is saying what...]<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>[I will try to remove or re-indent any prior parts so that the result might be intelligible.  Hope that works.]<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>On 4/15/2018 3:56 PM, John Carlson wrote:<o:p></o:p></p><p class=MsoNormal>> <o:p></o:p></p><p class=MsoNormal>> On Sun, Apr 15, 2018, 4:47 PM Don Brutzman <brutzman@nps.edu <mailto:brutzman@nps.edu>> wrote:<o:p></o:p></p><p class=MsoNormal>>>     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.<o:p></o:p></p><p class=MsoNormal>> <o:p></o:p></p><p class=MsoNormal>> Let's see if other people chime in.<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><p class=MsoNormal>>>     5. Next, regarding X3D JSON Schema.<o:p></o:p></p><p class=MsoNormal>>> <o:p></o:p></p><p class=MsoNormal>>>      > 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.<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>I think that you can safely avoid copying and safely avoid worrying about versions.  Wait until we autogenerate earlier versions if you want to be strict.<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>In the meantime, the version 3.3 JSON schema should work on all X3D models version 3.0 through 3.3 since we are always so careful about backwards compatibility between versions.  Note that each schema validation of X3D element allows prior version numbers.<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>If using 3.3 for all scenes all the time does lead to any problems with JSON validation, please let me know so that we can fix it.<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>>>     You can see all the variations corresponding to X3D versions in the specification itself:<o:p></o:p></p><p class=MsoNormal>>> <o:p></o:p></p><p class=MsoNormal>>>     X3D Abstract Specification,  Annex Z (normative) Version content<o:p></o:p></p><p class=MsoNormal>>>     http://www.web3d.org/documents/specifications/19775-1/V3.3/Part01/versionContent.html<o:p></o:p></p><p class=MsoNormal>>> <o:p></o:p></p><p class=MsoNormal>>>     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.<o:p></o:p></p><p class=MsoNormal>> <o:p></o:p></p><p class=MsoNormal>> Okay, perhaps it is time to start generating the other versions for the X3DUOM.<o:p></o:p></p><p class=MsoNormal>> <o:p></o:p></p><p class=MsoNormal>>      > 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.<o:p></o:p></p><p class=MsoNormal>> <o:p></o:p></p><p class=MsoNormal>> It looks like some already are?<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Yes, changes in the X3D XML schema go into the X3ObjectModel3.3.xml and then into X3DJSAIL, where they get tested.  So all of the SFTime duration changes are there.<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>>>     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.<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>> Please do not spend time on this.  It's more important to get more versions of the object model.<o:p></o:p></p><p class=MsoNormal>> <o:p></o:p></p><p class=MsoNormal>>>     X3D Unified Object Model (X3DUOM)<o:p></o:p></p><p class=MsoNormal>>>     http://www.web3d.org/specifications/X3DUOM.html<o:p></o:p></p><p class=MsoNormal>>> <o:p></o:p></p><p class=MsoNormal>>>     Extra-credit issues:<o:p></o:p></p><p class=MsoNormal>>>     a. generating X3DObjectModel-3.3.xml files for each X3D version<o:p></o:p></p><p class=MsoNormal>>>     http://www.web3d.org/specifications/X3DObjectModel-3.3.xml<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>> That's your task, Don, or someone who is familiar with your builds/Xslt.<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>OK, can do... worked today on the build scripts and generation stylesheet.<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Have renamed several files for better clarity (earlier deferred with Roy) and improved the processing, creating a new object-model file directly, version by version, from each corresponding X3D schema.<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>And so added corresponding matches as follows:<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>                http://www.web3d.org/specifications/X3dUnifiedObjectModel-4.0.xml (experimental)<o:p></o:p></p><p class=MsoNormal>                http://www.web3d.org/specifications/X3dUnifiedObjectModel-3.3.xml (primary)<o:p></o:p></p><p class=MsoNormal>                http://www.web3d.org/specifications/X3dUnifiedObjectModel-3.2.xml (strict backwards compatibility)<o:p></o:p></p><p class=MsoNormal>                http://www.web3d.org/specifications/X3dUnifiedObjectModel-3.1.xml (strict backwards compatibility)<o:p></o:p></p><p class=MsoNormal>                http://www.web3d.org/specifications/X3dUnifiedObjectModel-3.0.xml (strict backwards compatibility)<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>All of these links are now refreshed, committed and online via<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>                X3D Unified Object Model (X3DUOM)<o:p></o:p></p><p class=MsoNormal>                http://www.web3d.org/specifications/X3DUOM.html<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>>     b. both X3DJSAIL and X3DJSONLD may have enough information embedded already to generate matching JSON schemas.<o:p></o:p></p><p class=MsoNormal>> <o:p></o:p></p><p class=MsoNormal>> 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).<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Agreed.  Not sure we want that, but it might be interesting task to confirm that round-trip of all unified object model information is available + possible from our implementations.<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>> 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.<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Thought about that, but no (or maybe Good Lordy No!!) since it adds yet another layer of complexity without apparent benefit.  Keeping each version independent is cleaner and more repeatable.<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Plenty more to follow, meanwhile...<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Have fun with the X3d Unified Object Model!  8)<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>