// without validation, should
// not fail because validation is disabled
setUp("invalidScript1.jelly");
jelly.setValidateXML(false);
Script script = jelly.compileScript();
script.run(context,xmlOutput);
assertTrue("should have set 'foo' variable to 'bar'",
context.getVariable("foo").equals("bar"));
// if I enable xml validation, the script should fail
// despite the cache