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: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to