[x3d-public] X3DJSAIL. Route issue

yottzumm at gmail.com yottzumm at gmail.com
Fri Feb 3 21:44:01 PST 2017


In:  CreateX3dSceneAccessInterfaceJava.xslt (search for event destination), I believe the text of the error notice is wrong, should be inputOnly instead of outputOnly or something like that.  Very confusing.  Also, I think we need to figure out why the error is being thrown in the first place (UnknownFieldType, UnknownFieldAccessType).  Compilation of unknown errors coming next.

John

                        if (!  toFieldAccessType.equals(fieldObject.ACCESSTYPE_INPUTOUTPUT) &&
                                !  toFieldAccessType.equals(fieldObject.ACCESSTYPE_INPUTONLY))
                        {
                                errorNotice += "ROUTE event destination must have accessType='inputOutput' or accessType='outputOnly'. ";
                        }


Sent from Mail for Windows 10

From: yottzumm at gmail.com
Sent: Thursday, February 2, 2017 6:01 PM
To: Don Brutzman; Roy Walmsley; x3d-public at web3d.org
Subject: X3DJSAIL. Route issue

www_web3d_org/x3d/content/examples/Basic/course/HelloX3dAuthorsAnimationChain.java
Exception in thread "main" org.web3d.x3d.sai.InvalidFieldValueException: ROUTE has source-destination type mismatch. ROUTE event destination must have accessType='inputOutput' or accessType='outputOnly'. ,       FROM SpinThoseThings.value_changed (OrientationInterpolator.SFRotation.outputOnly) TO EarthCoordinateSystem.set_rotation (Transform.UnknownFieldType.UnknownFieldAccessType)
        at org.web3d.x3d.java.Core.ROUTEObject.validate(ROUTEObject.java:542)
        at org.web3d.x3d.java.Grouping.TransformObject.validate(TransformObject.java:1486)
        at org.web3d.x3d.java.Core.SceneObject.validate(SceneObject.java:500)
        at org.web3d.x3d.java.Core.X3DObject.validate(X3DObject.java:1494)
        at org.web3d.x3d.java.Core.X3DObject.toFileJSON(X3DObject.java:657)
        at www_web3d_org.x3d.content.examples.Basic.course.HelloX3dAuthorsAnimationChain.main(HelloX3dAuthorsAnimationChain.java:191)

Attached.

John

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://web3d.org/pipermail/x3d-public_web3d.org/attachments/20170204/1610b8d1/attachment.html>


More information about the x3d-public mailing list