<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;}
@font-face
        {font-family:"Segoe UI Emoji";
        panose-1:2 11 5 2 4 2 4 2 2 3;}
/* 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><o:p> </o:p></p><p class=MsoNormal>Okay, I think I’ve patched this.  Attached is ProtoInstanceObject.java code for looking up ProtoDeclare fields when they aren’t mentioned as fieldValues.  I am not sure what’s desired, but please patch X3DJSAIL, or fix examples below.  There’s a lot of debugging you’ll have to remove from the Java code.</p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>I defined some methods too.  Good luck diffing!  Most of the changes are in getFieldType() and getAccessType(), plus the new methods.</p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal><a href="https://github.com/coderextreme/JavaSceneAuthoringInterfaceLibrary/blob/master/src/main/java/org/web3d/x3d/jsail/Core/ProtoInstanceObject.java">https://github.com/coderextreme/JavaSceneAuthoringInterfaceLibrary/blob/master/src/main/java/org/web3d/x3d/jsail/Core/ProtoInstanceObject.java</a></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal><a href="https://github.com/coderextreme/JavaSceneAuthoringInterfaceLibrary/blob/master/src/main/java/org/web3d/x3d/jsail/Core/fieldValueObject.java">https://github.com/coderextreme/JavaSceneAuthoringInterfaceLibrary/blob/master/src/main/java/org/web3d/x3d/jsail/Core/fieldValueObject.java</a></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>John</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</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>Monday, May 15, 2017 11:33 AM<br><b>To: </b><a href="mailto:brutzman@nps.edu">Don Brutzman</a>; <a href="mailto:x3d-public@web3d.org">X3D Graphics public mailing list</a>; <a href="mailto:roy.walmsley@ntlworld.com">Roy Walmsley</a><br><b>Subject: </b>my version of X3DJSAIL reports there are problems with the routes inthese files. What about yours?</p></div><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>I am not sure where the problem lies at this point.  More research is needed.  My version of X3DJSAIL is quite different with respect to ProtoInstance routes (my local files all run now <span style='font-family:"Segoe UI Emoji",sans-serif'>😊</span>.  Included is my current X3DJSAIL files that are different.  Must a ProtoInstance pass field values if the ProtoBody is to participate in a route?<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>/c/x3d-code/www.web3d.org/x3d/content/examples/Basic/course/ExtrusionCrossSectionExampleShip<o:p></o:p></p><p class=MsoNormal>ExtrusionCrossSectionExampleShip execution self-validation test results: <meta name='hint' content='Utilize ExtrusionCrossSection ProtoInstance as a Shape node (with containerField=&quot;children&quot;) rather than an Extrusion node (with containerField=&quot;geometry&quot;).'/><o:p></o:p></p><p class=MsoNormal>ROUTE details: FROM SmokeSpineInterpolator.value_changed (CoordinateInterpolator.MFVec3f.outputOnly) TO Smoke.set_spine (ProtoInstance.MFVec3f.initializeOnly)<o:p></o:p></p><p class=MsoNormal>ROUTE toField (destination) event can only have accessType='inputOutput' or accessType='inputOnly'. <o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>/c/x3d-code/www.web3d.org/x3d/content/examples/Basic/development/TestPrototypeInterpolators<o:p></o:p></p><p class=MsoNormal>TestPrototypeInterpolators execution self-validation test results:  ROUTE details: FROM Clock.fraction_changed (TimeSensor.SFFloat.outputOnly) TO InterpolatorTestInstance.set_fraction (ProtoInstance.ERROR_UNKNOWN_FIELD_TYPE.ERROR_UNKNOWN_FIELD_ACCESSTYPE)<o:p></o:p></p><p class=MsoNormal>ROUTE toField (destination) event can only have accessType='inputOutput' or accessType='inputOnly'. <o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>/c/x3d-code/www.web3d.org/x3d/content/examples/Basic/DistributedInteractiveSimulation/AriesEspduPrototype<o:p></o:p></p><p class=MsoNormal>AriesEspduPrototype execution self-validation test results:  ROUTE details: FROM ArticulationParameterControl.portRpm (Script.SFFloat.outputOnly) TO AriesAUV.portRpm (ProtoInstance.ERROR_UNKNOWN_FIELD_TYPE.ERROR_UNKNOWN_FIELD_ACCESSTYPE)<o:p></o:p></p><p class=MsoNormal>ROUTE toField (destination) event can only have accessType='inputOutput' or accessType='inputOnly'. <o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>/c/x3d-code/www.web3d.org/x3d/content/examples/Basic/DistributedInteractiveSimulation/EspduTransformExample<o:p></o:p></p><p class=MsoNormal>EspduTransformExample execution self-validation test results:  ROUTE details: FROM ET.articulationParameterValue0_changed (EspduTransform.SFFloat.outputOnly) TO AriesAUV.set_portRpm (ProtoInstance.ERROR_UNKNOWN_FIELD_TYPE.ERROR_UNKNOWN_FIELD_ACCESSTYPE)<o:p></o:p></p><p class=MsoNormal>ROUTE toField (destination) event can only have accessType='inputOutput' or accessType='inputOnly'. <o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>/c/x3d-code/www.web3d.org/x3d/content/examples/Basic/StudentProjects/ProjectileInterpolatorArena<o:p></o:p></p><p class=MsoNormal>ProjectileInterpolatorArena execution self-validation test results:  ROUTE details: FROM SliderVelocity.currentValueFloat (ProtoInstance.ERROR_UNKNOWN_FIELD_TYPE.ERROR_UNKNOWN_FIELD_ACCESSTYPE) TO ProjectileInterpolator.set_Vi (ProtoInstance.ERROR_UNKNOWN_FIELD_TYPE.ERROR_UNKNOWN_FIELD_ACCESSTYPE)<o:p></o:p></p><p class=MsoNormal>ROUTE toField (destination) event can only have accessType='inputOutput' or accessType='inputOnly'. <o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>/c/x3d-code/www.web3d.org/x3d/content/examples/Basic/Vrml97Specification/Example16<o:p></o:p></p><p class=MsoNormal>Example16 execution self-validation test results:  ROUTE details: FROM RotorScript.startEngine (Script.SFTime.outputOnly) TO Top.startTime (ProtoInstance.ERROR_UNKNOWN_FIELD_TYPE.ERROR_UNKNOWN_FIELD_ACCESSTYPE)<o:p></o:p></p><p class=MsoNormal>ROUTE toField (destination) event can only have accessType='inputOutput' or accessType='inputOnly'. <o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>/c/x3d-code/www.web3d.org/x3d/content/examples/Basic/X3dSpecifications/Chopper<o:p></o:p></p><p class=MsoNormal>Chopper execution self-validation test results:  ROUTE details: FROM RotorScript.startEngine (Script.SFTime.outputOnly) TO Top.startTime (ProtoInstance.ERROR_UNKNOWN_FIELD_TYPE.ERROR_UNKNOWN_FIELD_ACCESSTYPE)<o:p></o:p></p><p class=MsoNormal>ROUTE toField (destination) event can only have accessType='inputOutput' or accessType='inputOnly'. <o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>/c/x3d-code/www.web3d.org/x3d/content/examples/Vrml2Sourcebook/Siggraph98Course/Cut<o:p></o:p></p><p class=MsoNormal>Cut execution self-validation test results:  ROUTE details: FROM Translator.fraction_changed (Script.SFFloat.outputOnly) TO Plane.set_fraction (ProtoInstance.ERROR_UNKNOWN_FIELD_TYPE.ERROR_UNKNOWN_FIELD_ACCESSTYPE)<o:p></o:p></p><p class=MsoNormal>ROUTE toField (destination) event can only have accessType='inputOutput' or accessType='inputOnly'. <o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>/c/x3d-code/www.web3d.org/x3d/content/examples/Vrml2Sourcebook/Siggraph98Course/TexturePlane<o:p></o:p></p><p class=MsoNormal>TexturePlane execution self-validation test results:  ROUTE details: FROM Clock.fraction_changed (TimeSensor.SFFloat.outputOnly) TO Plane.set_fraction (ProtoInstance.ERROR_UNKNOWN_FIELD_TYPE.ERROR_UNKNOWN_FIELD_ACCESSTYPE)<o:p></o:p></p><p class=MsoNormal>ROUTE toField (destination) event can only have accessType='inputOutput' or accessType='inputOnly'. <o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>/c/x3d-code/www.web3d.org/x3d/content/examples/X3dForWebAuthors/Chapter11LightingEnvironmentalEffects/BackgroundKelpForestMain<o:p></o:p></p><p class=MsoNormal>BackgroundKelpForestMain execution self-validation test results:  ROUTE details: FROM JEFFSCLOCK.fraction_changed (TimeSensor.SFFloat.outputOnly) TO NancyInterpolator.set_fraction (ProtoInstance.ERROR_UNKNOWN_FIELD_TYPE.ERROR_UNKNOWN_FIELD_ACCESSTYPE)<o:p></o:p></p><p class=MsoNormal>ROUTE toField (destination) event can only have accessType='inputOutput' or accessType='inputOnly'. <o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>/c/x3d-code/www.web3d.org/x3d/content/examples/X3dForWebAuthors/Chapter11LightingEnvironmentalEffects/FogKelpForestMain<o:p></o:p></p><p class=MsoNormal>FogKelpForestMain execution self-validation test results:  ROUTE details: FROM JEFFSCLOCK.fraction_changed (TimeSensor.SFFloat.outputOnly) TO NancyInterpolator.set_fraction (ProtoInstance.ERROR_UNKNOWN_FIELD_TYPE.ERROR_UNKNOWN_FIELD_ACCESSTYPE)<o:p></o:p></p><p class=MsoNormal>ROUTE toField (destination) event can only have accessType='inputOutput' or accessType='inputOnly'. <o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>/c/x3d-code/www.web3d.org/x3d/content/examples/X3dForWebAuthors/Chapter11LightingEnvironmentalEffects/TextureBackgroundKelpForestMain<o:p></o:p></p><p class=MsoNormal>TextureBackgroundKelpForestMain execution self-validation test results:  ROUTE details: FROM JEFFSCLOCK.fraction_changed (TimeSensor.SFFloat.outputOnly) TO NancyInterpolator.set_fraction (ProtoInstance.ERROR_UNKNOWN_FIELD_TYPE.ERROR_UNKNOWN_FIELD_ACCESSTYPE)<o:p></o:p></p><p class=MsoNormal>ROUTE toField (destination) event can only have accessType='inputOutput' or accessType='inputOnly'. <o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>/c/x3d-code/www.web3d.org/x3d/content/examples/X3dForWebAuthors/Chapter12EnvironmentSensorSound/CollisionKelpForestMain<o:p></o:p></p><p class=MsoNormal>CollisionKelpForestMain execution self-validation test results:  ROUTE details: FROM JEFFSCLOCK.fraction_changed (TimeSensor.SFFloat.outputOnly) TO NancyInterpolator.set_fraction (ProtoInstance.ERROR_UNKNOWN_FIELD_TYPE.ERROR_UNKNOWN_FIELD_ACCESSTYPE)<o:p></o:p></p><p class=MsoNormal>ROUTE toField (destination) event can only have accessType='inputOutput' or accessType='inputOnly'. <o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>/c/x3d-code/www.web3d.org/x3d/content/examples/X3dForWebAuthors/Chapter12EnvironmentSensorSound/LoadSensorKelpForestMain<o:p></o:p></p><p class=MsoNormal>LoadSensorKelpForestMain execution self-validation test results:  ROUTE details: FROM JEFFSCLOCK.fraction_changed (TimeSensor.SFFloat.outputOnly) TO NancyInterpolator.set_fraction (ProtoInstance.ERROR_UNKNOWN_FIELD_TYPE.ERROR_UNKNOWN_FIELD_ACCESSTYPE)<o:p></o:p></p><p class=MsoNormal>ROUTE toField (destination) event can only have accessType='inputOutput' or accessType='inputOnly'. <o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>/c/x3d-code/www.web3d.org/x3d/content/examples/X3dForWebAuthors/Chapter12EnvironmentSensorSound/ProximitySensorKelpForestMain<o:p></o:p></p><p class=MsoNormal>ProximitySensorKelpForestMain execution self-validation test results:  ROUTE details: FROM JEFFSCLOCK.fraction_changed (TimeSensor.SFFloat.outputOnly) TO NancyInterpolator.set_fraction (ProtoInstance.ERROR_UNKNOWN_FIELD_TYPE.ERROR_UNKNOWN_FIELD_ACCESSTYPE)<o:p></o:p></p><p class=MsoNormal>ROUTE toField (destination) event can only have accessType='inputOutput' or accessType='inputOnly'. <o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>/c/x3d-code/www.web3d.org/x3d/content/examples/X3dForWebAuthors/Chapter12EnvironmentSensorSound/VisibilitySensorKelpForestMain<o:p></o:p></p><p class=MsoNormal>VisibilitySensorKelpForestMain execution self-validation test results:  ROUTE details: FROM JEFFSCLOCK.fraction_changed (TimeSensor.SFFloat.outputOnly) TO NancyInterpolator.set_fraction (ProtoInstance.ERROR_UNKNOWN_FIELD_TYPE.ERROR_UNKNOWN_FIELD_ACCESSTYPE)<o:p></o:p></p><p class=MsoNormal>ROUTE toField (destination) event can only have accessType='inputOutput' or accessType='inputOnly'. <o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>/c/x3d-code/www.web3d.org/x3d/content/examples/X3dForWebAuthors/Chapter14Prototypes/HudKelpForest<o:p></o:p></p><p class=MsoNormal>HudKelpForest execution self-validation test results:  ROUTE details: FROM HeadsUpDisplayInstance.position_changed (ProtoInstance.ERROR_UNKNOWN_FIELD_TYPE.ERROR_UNKNOWN_FIELD_ACCESSTYPE) TO ConvertValueScript.sfVec3f (Script.SFVec3f.inputOnly)<o:p></o:p></p><p class=MsoNormal>ROUTE fromField (source) event can only have accessType='inputOutput' or accessType='outputOnly'. <o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>/c/x3d-code/www.web3d.org/x3d/content/examples/X3dForWebAuthors/KelpForestExhibit/KelpForestMain<o:p></o:p></p><p class=MsoNormal>KelpForestMain execution self-validation test results:  ROUTE details: FROM JEFFSCLOCK.fraction_changed (TimeSensor.SFFloat.outputOnly) TO NancyInterpolator.set_fraction (ProtoInstance.ERROR_UNKNOWN_FIELD_TYPE.ERROR_UNKNOWN_FIELD_ACCESSTYPE)<o:p></o:p></p><p class=MsoNormal>ROUTE toField (destination) event can only have accessType='inputOutput' or accessType='inputOnly'.<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p></div></body></html>