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/03/30 11:16:30 UTC

[Bug 1156] New - TransformerHandlers can't be reused

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=1156

*** shadow/1156	Fri Mar 30 01:16:29 2001
--- shadow/1156.tmp.15727	Fri Mar 30 01:16:30 2001
***************
*** 0 ****
--- 1,23 ----
+ +============================================================================+
+ | TransformerHandlers can't be reused                                        |
+ +----------------------------------------------------------------------------+
+ |        Bug #: 1156                        Product: XalanJ2                 |
+ |       Status: NEW                         Version: 2.0.1                   |
+ |   Resolution:                            Platform: PC                      |
+ |     Severity: Normal                   OS/Version:                         |
+ |     Priority:                           Component: org.apache.xalan.stree  |
+ +----------------------------------------------------------------------------+
+ |  Assigned To: xalan-dev@xml.apache.org                                     |
+ |  Reported By: laurent.bihanic@atosorigin.com                               |
+ |      CC list: Cc:                                                          |
+ +----------------------------------------------------------------------------+
+ |          URL:                                                              |
+ +============================================================================+
+ |                              DESCRIPTION                                   |
+ When TransformerImpl is used as a JAXP TransformerHandler, it can't be reused to
+ perform several transformations: The result of the second transformation
+ includes the result of the first.
+ 
+ The SourceTreeHandler should reset itself on the startDocument() event or maybe
+ call TransformerImpl's reset() method (but this latter resets the ContentHandler
+ which not a good idea in this context).