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 2002/12/20 21:32:37 UTC
DO NOT REPLY [Bug 15589] New: -
Performance improvement ideas wrt loading JAXP Factories and DTMManager
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=15589>.
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=15589
Performance improvement ideas wrt loading JAXP Factories and DTMManager
Summary: Performance improvement ideas wrt loading JAXP Factories
and DTMManager
Product: XalanJ2
Version: CurrentCVS
Platform: Other
OS/Version: Other
Status: NEW
Severity: Normal
Priority: Other
Component: Xalan
AssignedTo: xalan-dev@xml.apache.org
ReportedBy: ilene@ca.ibm.com
We should go through the code and determine if we are calling newInstance() more
than necessary (for SAXParserFactory and DocumentBuilderFactory) on a single
Transformer object. Each call can be expensive if jars are searched for the
implementation class. Can we cache these classes anywhere?
I also have questions about the factory finder code for DTMManager
implementations:
* Shouldn't we update this code to be consistent with the latest updates to the
factory finder routines in JAXP code (from xml-commons)?
* Why are we searching in jaxp.properties for the name of the DTMManager
implementation? Would this really be an appropriate place for a user to set
this property?
* Xerces has a xerces specific properties file (xerces.properties)that it looks
for in a JDK installation (to avoid going through the classpath search.) See
org.apache.xerces.util.ObjectFactory. Should we have a similar file for Xalan?