All, We found 2 classes in the Xalan 2.4.1 sources (not considering xsltc sources) that are dangerously calling System.exit(). These classes are: - org.apache.xml.dtm.ref.sax2dtm.SAX2DTM - org.apache.xml.dtm.DTMDefaultBase
Looking at the source, these System.exit() calls seem to be innofensive for normal conditions, but in unpredictable situations such as StackOverflow exceptions how one can garantee they wont be invoked. I wouldnt like to see a whole JVM going down without logs/traces when those conditions are hit. Could they be cleanedup from Xalan sources in subsequent releases and maybe runtime exceptions thrown in its place? Thanks, Yuri PS:
