You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xalan.apache.org by bu...@apache.org on 2001/10/04 19:48:34 UTC
DO NOT REPLY [Bug 1251] -
TransformerHandler with SAXResult mishandles exceptions
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=1251>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=1251
TransformerHandler with SAXResult mishandles exceptions
curcuru@apache.org changed:
What |Removed |Added
----------------------------------------------------------------------------
Severity|Critical |Normal
Keywords| |TestID
------- Additional Comments From curcuru@apache.org 2001-10-04 10:48 -------
TestID: Bugzilla1252.java
With xml-xalan from CVS 04-Oct-01 (similar to 2.2.D11) behavior is better: when
using a real stylesheet-generated transformer, it works correctly. The only
remaining bug seems to be when using a default identity
TransformerHandler/Transformer: (downgrade to Sev:normal)
<message level="40">Using an identity transformer should work...</message>
<message level="40">Entering(CH1) startElement(, foo, foo, ) and throwing an
Exception..</message>
<checkresult result="Fail" desc="Should not have thrown exception!"/>
<arbitrary level="10"><![CDATA[
Should not have thrown exception!
org.xml.sax.SAXException: Should stop processing
org.xml.sax.SAXException: Should stop processing
at java.lang.Throwable.<init>(Throwable.java:96)
at java.lang.Exception.<init>(Exception.java:44)
at org.xml.sax.SAXException.<init>(SAXException.java:45)
at Bugzilla1251$Bugzilla1251Handler.startElement(Bugzilla1251.java:105)
at org.apache.xalan.transformer.TransformerIdentityImpl.startElement
(TransformerIdentityImpl.java:1017)
at Bugzilla1251.execute(Bugzilla1251.java:46)
at org.apache.qetest.xsl.BugzillaTestletDriver.executeTestletInDir
(BugzillaTestletDriver.java:420)
...
]]></arbitrary>
<message level="40">But using a real transformer does not...</message>
<message level="40">Entering(CH2) startElement(null, foo, foo, ) and throwing
an Exception..</message>
<checkresult result="Pass" desc="Entering(EL2) fatalError()"/>