Thanx to all for so many replies in such little time. Indeed, after
correcting eventIn and ecmascript I was able to load the x3d file (I
guess I must read the x3d spec a bit more thoroughly).
Still, I can't load the vrml version of the file using the code I posted
in my previous message, which is not a big deal but it would be good to
know why. The file would, in that case, be:
#VRML V2.0 utf8
DEF s Shape {
appearance Appearance { }
geometry Box { }
}
DEF sc Script {
eventIn SFTime test
url "javascript: function test(value) { }"
}
A NullPointerException is generated by line 299 of
ScriptContentLoader.java:
ScriptEngine engine = (ScriptEngine)engineMap.get(mime_type);
Any ideas? Just a reminder that Xj3D Browser can indeed load the above
file without any errors.