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 2002/02/07 11:38:44 UTC
DO NOT REPLY [Bug 6304] New: -
Annoying printing of stacktrace at SourceTreeManager
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=6304>.
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=6304
Annoying printing of stacktrace at SourceTreeManager
Summary: Annoying printing of stacktrace at SourceTreeManager
Product: XalanJ2
Version: 2.2.0
Platform: All
OS/Version: All
Status: NEW
Severity: Normal
Priority: Other
Component: org.apache.xpath
AssignedTo: xalan-dev@xml.apache.org
ReportedBy: rudolf.michalek@qbizm.com
I check in my XSL template if an XML document exists.
The check causes an IOException that is transformed
to TransformerException and handled by my ErrorListener. It is ok.
But at the class org.apache.xpath.SourceTreeManager at method
parseToNode(..) there is a line:
e.printStackTrace();
It causes printing the stacktrace at each check (at my case 30x).
The printing cannot be stopped.
I found the same problematic code also at Xalan 2.3D1
and Sun J2SDK SE 1.4.0 RC.
Please remove the line with printing or include a mechanism how to switch
it off. Thanks.