>> ----------- cut here ---------
>>
>> Not sure, why this fails.
>>     
>
>
> Is there a .txt file in the bsf-utils\target\surefire-reports folder with
> any more info?
>   

Yes, here it is (just did not know where to look, still learning...):

------------- cut here -------------
-------------------------------------------------------------------------------
Test set: org.apache.bsf.xml.JavaScriptXMLHelperTestCase
-------------------------------------------------------------------------------
Tests run: 2, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 0.203
sec <<< FAILURE!
testToOmElement(org.apache.bsf.xml.JavaScriptXMLHelperTestCase)  Time
elapsed: 0.11 sec  <<< ERROR!
javax.script.ScriptException:
sun.org.mozilla.javascript.internal.EvaluatorException: syntax error
(<Unknown source>#1) in <Unknown source> at line number 1
    at
com.sun.script.javascript.RhinoScriptEngine.eval(RhinoScriptEngine.java:110)
    at
com.sun.script.javascript.RhinoScriptEngine.eval(RhinoScriptEngine.java:124)
    at javax.script.AbstractScriptEngine.eval(AbstractScriptEngine.java:247)
    at
org.apache.bsf.xml.JavaScriptXMLHelperTestCase.testToOmElement(JavaScriptXMLHelperTestCase.java:41)

testToScriptXML(org.apache.bsf.xml.JavaScriptXMLHelperTestCase)  Time
elapsed: 0.062 sec  <<< ERROR!
com.sun.phobos.script.util.ExtendedScriptException:
org.mozilla.javascript.EcmaError: ReferenceError: "XML" is not defined.
(<Unknown source>#1) in <Unknown source> at line number 1
    at
com.sun.phobos.script.javascript.RhinoScriptEngine.eval(RhinoScriptEngine.java:184)
    at
com.sun.phobos.script.javascript.RhinoScriptEngine.eval(RhinoScriptEngine.java:198)
    at javax.script.AbstractScriptEngine.eval(AbstractScriptEngine.java:247)
    at
org.apache.bsf.xml.JavaScriptXMLHelperTestCase.testToScriptXML(JavaScriptXMLHelperTestCase.java:50)
------------- cut here -------------

Does this help?
(If not, I could send the XML-file which also has all the relevant Java
properties.)

---rony


Reply via email to