Red Hat Bugzilla – Bug 115017
Not all XSLT transformers use the ErrorListeners to report errors
Last modified: 2007-04-18 13:02:34 EDT
Description of problem:
In testing of the Themes application is was discovered that some XSLT
engines do not actually use the ErrorListeners for reporting errors -
merely throwing the exceptions as usual. This means that templates
uploaded to the themes app appear to validate ok, but in fact fail in
use. We can work around this by catching an TransformerException's
thrown and explicitly invoking the fatalError(TransformerException)
method on the supplied listeneer ourselves.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Configure CCM to use JD.XSLT
2. Upload XSL with malformed XML tags
3. Run theme validation
Validation passes, but errors are displayed in the logs.
Validation fails & errors reported through the UI.
Changes 40660 and 40659 should fix this problem by checking for the
extra error types.
QA_READY has been deprecated in favor of ON_QA. Please use ON_QA in the future.
Moving to ON_QA.
Closing old tickets