<div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div>I'm getting extra comments in the java code generated by X3dToJava.xslt.</div><div><br></div><div>Apparently there's no X3D to Java in X3D-Edit?</div><div><br></div><div>Here's some sample generated Jav (see extra commas):</div><div><br></div><div>.setGeometry(new IndexedFaceSet("Backing").setDEF("Backing").setCoordIndex(new int[] {0,,1,,2,,3,,-1})</div><div><br></div><div>.setGeometry(new IndexedLineSet().setCoordIndex(new int[] {0,,1,,-1,,0,,2,,-1,,0,,3,,-1})</div><div>.<br></div><div>Here's the XML (I believe this is from Holger, because it has her name on it).</div><div><div>              <IndexedFaceSet DEF='Backing'</div><div>                  coordIndex='0, 1, 2, 3, -1'></div><div>                <Coordinate</div><div>                    point='-0.2 -0.25 -0.01, 3 -0.25 -0.01, 3 1 -0.01, -0.2 1 -0.01'/></div><div>              </IndexedFaceSet></div></div><div><br></div><div>setPoint is OK in the Java, it's the setCoordIndex and setSkinCoordIndex.</div><div><br></div><div>Recommendations:</div><div><br></div><div>1) X3dToJava.xslt should not add commas when commas are already there. Perhaps strip commas before adding them?  With both setCoordIndex and setSkinCoordIndex</div><div><br></div><div>2) Holger's x3d-tidy should not introduce commas if they are not already there (I'm fairly sure the original is some form of VRML.  The VRML file appears to be the oldest of relevant file names.</div><div><br></div><div>3) If Joe wants to provide the file, it's JoeLevel2LOA3SSPYRWRJKHud.x3dv, I think.</div><div><br></div><div>I'm going to delete the Java code because I'm having issues with my new gradle build.</div><div><br></div><div>More to come, we get better and better with each new example!</div><div><br></div><div>Thanks!</div><div><br></div><div>John</div><div><br></div><div><br></div></div></div></div></div></div>