The test failure is related to a difference between Xalan and the version of Xalan that is part of Java5 (and Java6 as well).
When ASF Xalan encounters an invalid XML file, it informs the registered ErrorListener via fatalError and our implementation of the ErrorListener turns it into a BuildException. The JDK Xalan either doesn't invoke fatalError at all or ignores our BuildException and throws the original TransformerException - no matter what, either violates my reading of the JAXP 1.3 javadocs of ErrorListener: ,---- | For transformation errors, a Transformer must use this interface | instead of throwing an exception: it is up to the application to | decide whether to throw an exception for different types of errors and | warnings. Note however that the Transformer is not required to | continue with the transformation after a call to fatalError. `---- but I guess it is the next paragraph that applies ,---- | Transformers may use this mechanism to report XML parsing errors as | well as transformation errors. `---- since our test case is an XML parsing error. I'll try to modify the test to use a real transformation error instead. Stefan --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@ant.apache.org For additional commands, e-mail: dev-h...@ant.apache.org