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=22376>. 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=22376 TrAXFilter breaks the XMLFilterImpl chain Summary: TrAXFilter breaks the XMLFilterImpl chain Product: XalanJ2 Version: 2.5 Platform: All OS/Version: All Status: NEW Severity: Critical Priority: Other Component: org.apache.xalan.transformer AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] The method org.apache.xalan.transformer.TrAXFilter.setupParse sets its own EntityResolver, DTDHandler and ErrorHandler in the case there is a parent. It takes them from the transformer ContentHandler if it is suitable. This is wrong because it breaks the XMLFilterImpl chain. It should only set "this", because the TrAXFilter can be the parent of anther filter. It should therefore let those events go through. If the TrAXFilter has a parent it makes no sense anyway to something else, because there will be no more entities to resolve, DTD declarations to handle or errors to be treated. The effect of the error is that when a client sets, for example, an entity resolver on the head of the filter chain, that resolver is never reached.
