You are viewing a plain text version of this content. The canonical link for it is here.
Posted to j-users@xalan.apache.org by Shreeya Indap <mm...@hotmail.com> on 2003/10/22 23:02:00 UTC
Reusing Transformer
Hello All,
In my filter chain I use my own implementations of XMLFilter and wrappers
around TrAXFilter. The wrapper class configures TrAXFilter only once for
entire directory and then uses it for all xml files transformations inside
that directory.
But after first transformation I get following error -
java.lang.RuntimeException
at
org.apache.xalan.transformer.TransformerImpl.run(TransformerImpl.java
:3364)
at
org.apache.xalan.transformer.TransformerHandlerImpl.endDocument(Trans
formerHandlerImpl.java:427)
at
com.merant.formulaone.presentation.ui.filter.FilterContentHandler.end
Document(FilterContentHandler.java:114)
Does that mean I cannot reuse same TransformerImpl? Why does it set
m_transformThread in TransformerImpl.java to null?
Shreeya
_________________________________________________________________
See when your friends are online with MSN Messenger 6.0. Download it now
FREE! http://msnmessenger-download.com