<div dir="auto">I just want to be sure we can generate a JSON schema validation in JavaScript and other languages that will handle all cases of @USE use or non-use with oneOf at this point. My current issue appears to be the lack of a ProtoInstance property underneath -material.   Fixed, but requires patch to X3DUOM, I believe.   More testing is needed on x3d resources files with the new mostly generated 3.3 Json schema, not checked in currently, but delivered to everyone I believe via email.<div dir="auto"><br></div><div dir="auto"> I would also like the complaints of no ProtoInstance name to go away in X3DJSAIL, when I am plainly providing a name.   If I provide a name and a USE, there should be a better error, I believe.   I do not think there are any instances left of this dual use in my java, but I am still getting the complaints.  Huh?  See what happens when I don't have a DEF for a ProtoInstance.  I will try to prioritize this.</div><div dir="auto"><br></div><div dir="auto">John</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Sep 4, 2017 10:37 PM, "Don Brutzman" <<a href="mailto:brutzman@nps.edu" target="_blank">brutzman@nps.edu</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">None of the rules are changed.  None of the XML .x3d versions or specifications are changed.<br>
<br>
The only change was a bugfix to remove excess output produced by XSLT conversion stylesheet X3dToVrml97.xslt, which is used for converting XML .x3d scenes into either VRML97 .wrl scenes or ClassicVRML .x3dv scenes.<br>
<br>
No effect on X3DJSAIL since it doesn't use the stylesheet, rather it has serializer outputs for .x3d .x3dv and .wrl formats.  No effect on class hierarchy in X3D Unified Object Model.<br>
<br>
Syntax and semantics for DEF/USE in VRML syntax are well described by the specifications, VRML Sourcebook, etc. No change there either.<br>
<br>
You may be thinking of the following Mantis issue, which is almost (but not yet fully) resolved/implemented:<br>
<br>
        19776-1 (XML) 4.3.10 ProtoInstance and fieldValue syntax -<br>
        ProtoInstance USE requirement for name field should be removed<br>
        <a href="http://www.web3d.org/member-only/mantis/view.php?id=1168" rel="noreferrer" target="_blank">http://www.web3d.org/member-on<wbr>ly/mantis/view.php?id=1168</a><br>
<br>
We should finish that one on weekly Mantis issue call this Thursday, I hope. You are welcome to join us if you want.<br>
<br>
<br>
On 9/4/2017 4:37 PM, John Carlson wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I guess this means that name is not a required field in ProtoInstance?  Or not?  Is this updated in X3DJSAIL yet?   Are we hunting down the name via USE, requiring name, or creating a new tag in XML?  And a new class inherited from ProtoInstance in Java?  Does the code generating X3DJSAIL code need to find the name and populate it?  What if USE is used and name is wiped out?<br>
<br>
Thanks,<br>
<br>
John<br>
<br>
Any decision made that I can take action on?<br>
<br>
On Sep 4, 2017 6:27 PM, "Don Brutzman" <<a href="mailto:brutzman@nps.edu" target="_blank">brutzman@nps.edu</a> <mailto:<a href="mailto:brutzman@nps.edu" target="_blank">brutzman@nps.edu</a>>> wrote:<br>
<br>
    Found and fixed a longstanding undetected error in the X3D to (Classic) VRML<br>
    conversion spreadsheet: prototype instances mistakenly had their name<br>
    repeated as a field.<br>
<br>
    Example scene:<br>
<br>
    <a href="http://x3dgraphics.com/examples/X3dForWebAuthors/KelpForestExhibit/CircleFishPrototypeIndex.html" rel="noreferrer" target="_blank">http://x3dgraphics.com/example<wbr>s/X3dForWebAuthors/KelpForestE<wbr>xhibit/CircleFishPrototypeInde<wbr>x.html</a><br>
    <a href="http://x3dgraphics.com/examples/X3dForWebAuthors/KelpForestExhibit/CircleFishPrototype.x3dv" rel="noreferrer" target="_blank">http://x3dgraphics.com/example<wbr>s/X3dForWebAuthors/KelpForestE<wbr>xhibit/CircleFishPrototype.x3d<wbr>v</a><br>
    <a href="http://x3dgraphics.com/examples/X3dForWebAuthors/KelpForestExhibit/CircleFishPrototype.wrl" rel="noreferrer" target="_blank">http://x3dgraphics.com/example<wbr>s/X3dForWebAuthors/KelpForestE<wbr>xhibit/CircleFishPrototype.wrl</a><br>
<br>
    original source .x3d excerpt:<br>
<br>
             <ProtoInstance name='CircleFish'/><br>
<br>
    mistakenly/inadvertently translated as:<br>
<br>
      CircleFish {<br>
         name "CircleFish "<br>
    }<br>
<br>
<br>
    now correctly translated as:<br>
<br>
      CircleFish {<br>
    }<br>
<br>
    Please update any local archives you might have.<br>
<br>
    <a href="http://www.web3d.org/x3d/content/examples/X3dResources.html#Examples" rel="noreferrer" target="_blank">http://www.web3d.org/x3d/conte<wbr>nt/examples/X3dResources.html#<wbr>Examples</a><br>
<br>
    Trouble reports with VRML97/ClassicVRML test suite examples and conversions<br>
    are always welcome.  We don't have a validator for these, so issues are welcome.<br>
<br>
    Have fun with VRML97 and ClassicVRML prototypes!  8)<br>
</blockquote>
all the best, Don<br>
-- <br>
Don Brutzman  Naval Postgraduate School, Code USW/Br       <a href="mailto:brutzman@nps.edu" target="_blank">brutzman@nps.edu</a><br>
Watkins 270,  MOVES Institute, Monterey CA 93943-5000 USA   <a href="tel:%2B1.831.656.2149" value="+18316562149" target="_blank">+1.831.656.2149</a><br>
X3D graphics, virtual worlds, navy robotics <a href="http://faculty.nps.edu/brutzman" rel="noreferrer" target="_blank">http://faculty.nps.edu/brutzma<wbr>n</a><br>
</blockquote></div></div>