[x3d-public] X3DJSAIL running generated Java program to produce Java

Don Brutzman brutzman at nps.edu
Mon Jul 23 23:30:47 PDT 2018


typically you are not finding setContainerField because that simply reflects parent-child relationships.  it is handled internally by X3DJSAIL, which makes sense because containerField is part of XML encoding and not part of actual model structure..

if incorrectly done in XML output, then the best correction is to fix the offending X3DJSAIL code rather than make things really confusing to programmers.

not claiming it is yet perfect but we are getting closer and closer.  test-case examples are best way to isolate and fix these.

On 7/20/2018 7:16 PM, yottzumm at gmail.com wrote:
> If we conclude that setContainerField() is the best way to add the container field (instead of something like setMaterial), I will have to change my serializers, and you will have to change X3dToJava.xslt.
all the best, Don
-- 
Don Brutzman  Naval Postgraduate School, Code USW/Br       brutzman at nps.edu
Watkins 270,  MOVES Institute, Monterey CA 93943-5000 USA   +1.831.656.2149
X3D graphics, virtual worlds, navy robotics http://faculty.nps.edu/brutzman




More information about the x3d-public mailing list