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





------- Additional Comments From [EMAIL PROTECTED]  2004-05-21 13:44 -------
But its DOMImplementation should be safe to reuse ?
E.g.

BasisLibrary:
doc = ((AbstractTranslet)translet).newDocument("", "__top__");

and 

AbstractTranslet:
Document newDocument(String nsUri, String name) {
  if(_domImplementation == null)
    _domImplementation = DocumentBuilderFactory.newInstance
().newDocumentBuilder().getDOMImplementation();

  return _domImplementation.newDocument(nsUri, name, null);
}

It can't be there's no efficient way to create a new document ...

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to