[x3d-public] possible issue with X3dToJava.xslt

John Carlson yottzumm at gmail.com
Fri Apr 16 16:02:26 PDT 2021


I just spotted this problem which I think is an issue with 
X3dToJava.xslt.  I updated last night.  It appears a that a string 
should be converted to an array or SFVec3f.

Sorry I cannot give more detail at this time, I'm giving my hands a 
break, trying to figure out the relationships between accept, able, 
motivate, and helpful.  I think I'm focusing on what is acceptable, and 
what isn't.

In X3DJSONLD/src/main/java/net/x3djsonld/data/c/x3d-code/www.web3d.org/ 
(not checked in)


x3d/content/examples/Basic/Points/ArchimedesPointProperties.java:132: 
error: no suitable method found for setAttenuation(String)
                 .setPointProperties(new 
PointProperties().setAttenuation("1 0 0"
                                                          ^
     method PointProperties.setAttenuation(float[]) is not applicable
       (argument mismatch; String cannot be converted to float[])
     method PointProperties.setAttenuation(SFVec3f) is not applicable
       (argument mismatch; String cannot be converted to SFVec3f)
     method PointProperties.setAttenuation(double[]) is not applicable
       (argument mismatch; String cannot be converted to double[])
Note: Some messages have been simplified; recompile with -Xdiags:verbose 
to get full output
1 error




More information about the x3d-public mailing list