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 17:06:57 UTC
DO NOT REPLY [Bug 29120] New: -
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
Summary: XSLTC uses DocumentBuilderFactory bootstrap too often
Product: XalanJ2
Version: CurrentCVS
Platform: All
OS/Version: All
Status: NEW
Severity: Normal
Priority: Other
Component: org.apache.xalan.xsltc
AssignedTo: xalan-dev@xml.apache.org
ReportedBy: matthias.ernst@coremedia.com
When returning a NodeList from an extension function, xsltc's
BasisLibrary#nodeList2Iterator bootstraps a DocumentBuilderFactory every time.
This is a lengthy process and dominates the processing time, especially in
complicated classloader hierarchies. Instead, a factory should be set up once
per translet, for example.
I have filed the same bug against Sun J2SDK 1.5.0:
http://developer.java.sun.com/developer/bugParade/bugs/5047031.html
---------------------------------------------------------------------
To unsubscribe, e-mail: xalan-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xalan-dev-help@xml.apache.org