<div><br></div><div dir="auto"><div><a href="https://sourceforge.net/p/x3d/code/HEAD/tree/www.web3d.org/x3d/content/examples/HelloWorld.x3d">https://sourceforge.net/p/x3d/code/HEAD/tree/www.web3d.org/x3d/content/examples/HelloWorld.x3d</a></div></div><div dir="auto"><br></div><div dir="auto">Nothing to prove, just trying to provide people with well documented examples of c# SAI.  Obviously, we don’t actually need 3900+ files converted from XML to C# except as test cases/examples for the C# SAI.</div><div dir="auto"><br></div><div dir="auto">X_ITE does scripts very well, last I checked.   Please file bug reports as necessary.</div><div dir="auto"><br></div><div dir="auto">I am not an X3d player vendor nor am I a SAI vendor.   My focus is primarily on JSON validation, loading and export from DOM to other encodings and bindings, primarily.</div><div dir="auto"><br></div><div dir="auto">I am not sure how I got into Cwhatever, except by opening my mouth too much.</div><div dir="auto"><br></div><div dir="auto">Doing Cwhatever can hopefully bring in a large community who are not going to be doing X3D otherwise.</div><div dir="auto"><br></div><div dir="auto">I will remain focused on c/c++ seriizing with JavaScript as I am able, and hope someone after me can do the c#.</div><div dir="auto"><br></div><div dir="auto">My approach is mostly a test-driven approach.</div><div dir="auto"><br></div><div dir="auto">John</div><div dir="auto"><br><div class="gmail_quote" dir="auto"><div dir="ltr" class="gmail_attr">On Mon, Mar 21, 2022 at 1:21 PM Joseph D Williams <<a href="mailto:joedwil@earthlink.net">joedwil@earthlink.net</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;padding-left:1ex;border-left-color:rgb(204,204,204)"><div lang="EN-US" link="blue" vlink="#954F72" style="word-wrap:break-word"><div class="m_-3595747404600361804WordSection1"><ul style="margin-top:0in" type="disc"><li class="m_-3595747404600361804MsoListParagraph" style="margin-left:0in">perhaps starting with HelloWorld.x3d is a tradition?</li></ul><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">If that simple, then list it here, Please. </p><p class="MsoNormal">Whatever it is, I don’t see much difference between proving ecmascript or java and proving Cwhatever works. In any case, the proof is that  in the environment in which the Cwhatever can be executed, that it can use the full set of SAI abstract interfaces in the complete life cycle of a browser and scene. </p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">Level 1a: Seems like the first step might be finding an example .x3d file that includes an internal script node and replacing with code to be evaluated, run the thing in the target aspiring x3d browser, and document the result. Should be same as ecma or java. </p><p class="MsoNormal">One is the original Boxman that uses script to move the skin. This would prove that the x3d browser can support an official x3d script node encoded using Cwhatever.  </p><p class="MsoNormal">I think this testing should work in free-standing browsers that support the whatever script language but Note, this might be complicated or impossible to do with an ‘internal’ script when x3d user code is embedded in html dom(?). </p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">Level 1b: If it is a .x3d file containing canonical, validated x3d xml or classic syntax,  then the converted file might be the .x3d file that contains a scene initialize script node that creates the scene by generating the xml or classic user code to create the scene, and runs it. </p><p class="MsoNormal">In freestanding x3d browser, for me, you wouldn’t even need to have the init script generate anything but the absolute minimum xml or classic user code, just that the scene gets built by the init script. </p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">Level 2: scene interface with host xnl dom or javascript host hosted by xml dom where external and/or internal sai is not fully supported. Here there be questions that have been asked over the ages. Interface structures and behaviors between xml dom and x3d sai  </p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">Thanks and Best Funs,</p></div></div><div lang="EN-US" link="blue" vlink="#954F72" style="word-wrap:break-word"><div class="m_-3595747404600361804WordSection1"><p class="MsoNormal">Joe</p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal"><u></u> <u></u></p><div style="border-style:solid none none;border-top-width:1pt;padding:3pt 0in 0in;border-top-color:rgb(225,225,225)"><p class="MsoNormal" style="border:none;padding:0in"><b>From: </b><a href="mailto:yottzumm@gmail.com" target="_blank">John Carlson</a><br><b>Sent: </b>Monday, March 21, 2022 8:05 AM<br><b>To: </b><a href="mailto:joedwil@earthlink.net" target="_blank">Joseph D Williams</a><br><b>Cc: </b><a href="mailto:x3d-public@web3d.org" target="_blank">X3D Graphics public mailing list</a><br><b>Subject: </b>Re: [x3d-public] C# opportunities, X3DJSONLD/JS or XSLT</p></div><p class="MsoNormal"><u></u> <u></u></p><div><p class="MsoNormal">Pick any XML you like, but perhaps starting with HelloWorld.x3d is a tradition?</p></div><div><p class="MsoNormal"><u></u> <u></u></p></div><div><p class="MsoNormal">Thanks!</p></div><div><p class="MsoNormal"><u></u> <u></u></p></div><div><p class="MsoNormal">John</p></div><div><p class="MsoNormal"><u></u> <u></u></p><div><div><p class="MsoNormal">On Sun, Mar 20, 2022 at 7:15 PM Joseph D Williams <<a href="mailto:joedwil@earthlink.net" target="_blank">joedwil@earthlink.net</a>> wrote:</p></div><blockquote style="border-style:none none none solid;border-left-width:1pt;padding:0in 0in 0in 6pt;margin-left:4.8pt;margin-right:0in;border-left-color:rgb(204,204,204)"><div><div><p class="MsoNormal"> </p><ul type="disc"><li class="m_-3595747404600361804m2297745965795935566msolistparagraph">The goal is to convert 3000+ xml documents to c#.</li></ul><p class="MsoNormal"> </p><p class="MsoNormal">Please show me the first one you wish to convert. </p><p class="MsoNormal"> </p><p class="MsoNormal">Thanks,</p><p class="MsoNormal">Joe</p></div></div><div><div><p class="MsoNormal"> </p><p class="MsoNormal"> </p><div style="border-style:solid none none;border-top-width:1pt;padding:3pt 0in 0in;border-top-color:rgb(225,225,225)"><p class="MsoNormal"><b>From: </b><a href="mailto:yottzumm@gmail.com" target="_blank">John Carlson</a><br><b>Sent: </b>Sunday, March 20, 2022 12:52 PM<br><b>To: </b><a href="mailto:x3d-public@web3d.org" target="_blank">X3D Graphics public mailing list</a><br><b>Subject: </b>[x3d-public] C# opportunities, X3DJSONLD/JS or XSLT</p></div><p class="MsoNormal"> </p><p class="MsoNormal">There is an opportunity for a C#/JavaScript/XSLT programmer to contribute to X3D.</p><div><p class="MsoNormal"> </p></div><div><p class="MsoNormal">We would like to serialize SAI C# code from DOM documents, using JavaScript.  There are examples to follow, including Java, C and C++ serializers (perhaps c/c++ are incomplete)</p></div><div><p class="MsoNormal"> </p></div><div><p class="MsoNormal">Alternatively, we could write XSLT instead of JavaScript.  We have many examples to follow, including Python.</p></div><div><p class="MsoNormal"> </p></div><div><p class="MsoNormal">Alternatively, we could write C# instead of XSLT or JavaScript.</p></div><div><p class="MsoNormal"> </p></div><div><p class="MsoNormal">The goal is to convert 3000+ xml documents to c#.</p></div><div><p class="MsoNormal"> </p></div><p class="MsoNormal">John</p></div></div></blockquote></div></div><p class="MsoNormal" style="margin-left:4.8pt"> </p><p class="MsoNormal"><u></u> <u></u></p></div></div></blockquote></div></div>