From: Stefan B. <bo...@ap...> - 2011-02-07 08:50:49
|
Hi, mabye anybody around here has come across this situation. Recently the ASF Gump instance has started to make sure XMLUnit's unit tests run on Xerces and Xalan rather than the parser/transformer of the JDK. This is when the tests started to fail, the only remaining failure can be seen here: http://vmgump.apache.org/gump/public/xmlunit/xmlunit-test/gump_file/TEST-org.custommonkey.xmlunit.test_Transform.xml.html The test uses a stylesheet containing an xsl:include that cannot be resolved and expects the transformer to throw an exception. In Xalan's case this does not happen. As can be seen in the log the error and not the fatalError message of the attached ErrorListener is invoked so it seems Xalan doesn't consider the failing include fatal. The JAXP docs on URI resolver aren't really clear on what is to be expected if the resolution fails (or maybe I'm just not finding the right doc). Does anybody know whether it is OK for Xalan to treat the failing include as non-fatal or whether I should report a bug? Stefan |