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 2004/05/20 22:40:47 UTC
DO NOT REPLY [Bug 29120] -
XSLTC uses DocumentBuilderFactory bootstrap too often
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=29120>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=29120
XSLTC uses DocumentBuilderFactory bootstrap too often
santiago.pericasgeertsen@sun.com changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
------- Additional Comments From santiago.pericasgeertsen@sun.com 2004-05-20 20:40 -------
Fixed committed to current CVS. The translet now stores a reference to the
DocumentBuilderFactory which is used by nodeList2Iterator() in the basis
library. Note that to reuse that reference you need to use the same transformer
(not just the same template). Thus, the example from
http://developer.java.sun.com/developer/bugParade/bugs/5047031.html
won't run any faster as a new transformer is created in every iteration of the
loop. It should run faster during the same transform and if the transfomer is
reused. I will make sure that this fix is propagated to Sun's JDK 1.5.0.
---------------------------------------------------------------------
To unsubscribe, e-mail: xalan-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xalan-dev-help@xml.apache.org