<div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Jan 21, 2022 at 12:29 PM Andreas Plesch <<a href="mailto:andreasplesch@gmail.com">andreasplesch@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="ltr"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><br>
  2.  Does X3DOM support ROUTE? Yes.  Prototypes? Maybe - interesting recent examples posted.  X3D Scripts?  No.  Hoping Andreas might provide succinct status and where help is useful, we will then discuss further on x3dom-developers list.<br></blockquote><div><br></div><div>x3dom ROUTE support exists for a long time.</div></div></div></blockquote><div><br></div><div>Except for ROUTEs to and from scripts. There's a key thing that script elements do not support child elements (fields) in HTML5.   We would probably require some action by the web vendors and the W3C standards to add field elements. </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="ltr"><div class="gmail_quote"><div><br></div><div>Prototype support: I think Prototype support is pretty robust now. All the examples I could find which do not need a script work.</div></div></div></blockquote><div><br></div><div>Good to hear! We need some acceptance testers.</div><div> </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="ltr"><div class="gmail_quote"><div><br></div><div>X3D scripts: unfortunately no.</div></div></div></blockquote><div><br></div><div>I did make an attempt to develop replacement scripts, duplicating scripts for each ProtoInstance.  This was the only way I could envision Protos and Scripts together in X3DOM.  This only works for JSON encoding presently, and is still pretty buggy:  <a href="https://github.com/coderextreme/X3DJSONLD/blob/master/src/main/node/Script.js">https://github.com/coderextreme/X3DJSONLD/blob/master/src/main/node/Script.js</a>  Also, scoping is pretty much a mess, with DEFs, USEs and ROUTEs being rewritten (at least).</div><div><br></div><div>We need a ECMAScript language person to look at this, or we can copy X_ITE, perhaps.</div><div><br></div><div>John</div></div></div>