[Jakarta-taglibs Wiki] Update of "Standard1.1.3FAQ" by BjornTownsend
Apache Wiki <[email protected]>
| Newsgroups | gmane.comp.jakarta.taglibs.devel |
|---|---|
| Message-ID | <[email protected]> |
Dear Wiki user,
You have subscribed to a wiki page or wiki category on "Jakarta-taglibs Wiki" for change notification.
The following page has been changed by BjornTownsend:
http://wiki.apache.org/jakarta-taglibs/Standard1%2e1%2e3FAQ
The comment on the change is:
FAQing bug 29878.
------------------------------------------------------------------------------
A. Not a clue :) It appears to be an aspect of how the Standard Taglib is calling Xalan and the solution is not readily apparent. The bug is tracked in [https://issues.apache.org/bugzilla/show_bug.cgi?id=22765 #22765].
+ Q. When using the Xerces (2.3.0) version that ships with JSTL 1.0.5 with JDK
+ 1.3.1.07 I'm getting the error bellow:
+
+ {{{
+ java.lang.reflect.InvocationTargetException: java.lang.NoSuchMethodError
+ at
+ org.apache.xml.serialize.IndentPrinter.breakLineIndentPrinter.java:281).
+ }}}
+
+ when trying to serialize a XML Document.
+
+ A. This is due to a bug in Xerces. It doesn't apply to JSTL 1.1.x, as 1.1.x does not depend on Xerces. There are presently no plans to release a new version of the 1.0.x branch, but a workaround of sorts can be found by by recompiling Xerces with a JDK version higher than 1.3.1_07 (1.3.1_11 is reported to work). Using a later version of Xerces may also suffice.
+