<div dir="auto">Do we need validators beyond DOM and SAI?   If we don’t support validating DOM, how can we be confident that some strange XML isn’t being introduced?  Likewise, with SAI and strange scenegraph.   Yes, X3D is extensible.   How is VRML validation being done?   Can we tell encoding developers to “target SAI,”  “target DOM/XML Schema,” “target VRML” or “target JSON Schema”?   If I translate from JSON to SAI, do i need to validate the JSON?</div><div dir="auto"><br></div><div dir="auto">Errors can be introduced at any level.  I would encourage to validate at every level if you can afford it.</div><div dir="auto"><br></div><div dir="auto">Should there be an “X3D virtual machine” that is upgradable?   That is, we don’t have to revalidate Java bytecode unless the signed jar is tampered with.  Why should we have to revalidate XML, JSON, VRML and other X3D encodings?</div><div dir="auto"><br></div><div dir="auto">Good question?   I know that Don has java bytecode for his examples.   I would highly encourage you to use a verified binding and  verified encoding.  We have a verified binding since we convert XML and JSON to Java encoding and then to Java bytecode.</div><div dir="auto"><br></div><div dir="auto">Does anyone know of a better solution than verified and signed Java bytecode?   Should we only be supporting languages that can be compiled to verified and signed bytecode?   I’m not seeing that in C/C++/JavaScript/Python (anyone know?).  Is WASM signed and verified?</div><div dir="auto"><br></div><div dir="auto">Anyone?</div><div dir="auto"><br></div><div dir="auto">I don’t have a lot of experience with Microsoft products…</div><div dir="auto"><br></div><div dir="auto">John </div><div dir="auto"><br></div><div><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Jan 24, 2023 at 12:34 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-width:1px;border-left-style:solid;padding-left:1ex;border-left-color:rgb(204,204,204)">What do people think about a program that would take JSON file and load it into an SAI scene?<div dir="auto"><br></div><div dir="auto">Would this be more useful than loading JSON into a DOM document?</div><div dir="auto"><br></div><div dir="auto">Would the program be called X3DJSONLS (load scene)?</div><div dir="auto"><br></div><div dir="auto">I’m thinking we may lose a few things like DOM validation, so we would rely on SAI validation (which should be generated from X3DUOM—separately).</div><div dir="auto"><br></div><div dir="auto">Which browsers support SAI?</div><div dir="auto"><br></div><div dir="auto">Please realize with X3DJSONLD.js, I was trying to include both X3DOM (deprecated, stunted SAI) and X_ITE.</div><div dir="auto"><br></div><div dir="auto">Can someone review X3DJSONLD.js and “document” references and provide a porting guide from DOM to SAI?  Even better, provide a parallel X3DJSONLS.js for SAI?</div><div dir="auto"><br></div><div dir="auto">Is there an equivalent to element.setAttribute in SAI?</div><div dir="auto"><br></div><div dir="auto">Thanks!</div><div dir="auto"><br></div><div dir="auto">John </div>
</blockquote></div></div>