<div><div dir="auto">If the 7 values are on the position interpolator, then it has been fixed in my code.  Hmm.  I may have to stop using X3dToJava.xslt, since my output file is ../java/net/x3djsonld/data/arc.java.  Perhaps a parameter for folder would be best?</div></div><div dir="auto"><br></div><div dir="auto">Perhaps we should delete arc.x3d as a test case until a new error comes along?  I still test arc.x3d in X3DJSONLD and pythonSAI.</div><div dir="auto"><br></div><div dir="auto">John</div><div><br><div class="gmail_quote"><div dir="ltr">On Sun, Nov 11, 2018 at 4:15 PM Brutzman, Donald (Don) (CIV) <<a href="mailto:brutzman@nps.edu">brutzman@nps.edu</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">hi John.  i continue working on X3DJSAIL steadily and was reviewing some tests.<br>
<br>
adding a meta title to the attached scene allowed X3dToJava.xslt to figure out the correct class name, even when that wasn't passed as a parameter to the stylesheet.  (AFAIK, XSLT stylesheets do not have a way to figure out the filename of their inputs, since they could be streams.<br>
<br>
interestingly then the build script compiled and executed the corresponding .java and found a tupleness error that had eluded other QA tests:<br>
<br>
====================<br>
C:\x3d-code\<a href="http://www.web3d.org" rel="noreferrer" target="_blank">www.web3d.org</a>\x3d\stylesheets\test>java arc<br>
Exception in thread "main" org.web3d.x3d.sai.InvalidFieldValueException: Illegal MFVec3f newValue array length=7, must be multiple of 3 or else be empty (newValue=0 0 0 0 0 5 0)<br>
         at org.web3d.x3d.jsail.fields.MFVec3fObject.<init>(MFVec3fObject.java:289)<br>
         at arc.initialize(arc.java:86)<br>
         at arc.<init>(arc.java:47)<br>
         at arc.main(arc.java:206)<br>
====================<br>
<br>
commit details at<br>
<a href="https://sourceforge.net/p/x3d/code/27706" rel="noreferrer" target="_blank">https://sourceforge.net/p/x3d/code/27706</a><br>
<a href="https://sourceforge.net/p/x3d/code/27707" rel="noreferrer" target="_blank">https://sourceforge.net/p/x3d/code/27707</a><br>
<br>
please advise if you want arc.3d corrected, or left erroneous as a test case.  if you want it as a test case, then we should add a meta warning to the model so that it is documented & expected.<br>
<br>
having fun with X3D unit testing!  sometimes it takes a long time to drain the swamp after some major refactoring, but "keeping the build green" is definitely worth it.<br>
<br>
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   +1.831.656.2149<br>
X3D graphics, virtual worlds, navy robotics <a href="http://faculty.nps.edu/brutzman" rel="noreferrer" target="_blank">http://faculty.nps.edu/brutzman</a><br>
</blockquote></div></div>