/rhino/xmlimplsrc/org/mozilla/javascript/xmlimpl/XmlProcessor.java
if ( ctx == null && ctx.hasFeature( Context.FEATURE_ENABLE_XML_SECURE_PARSING) ) {
if ( ctx == null || ctx.hasFeature ( Context.FEATURE_ENABLE_XML_SECURE_PARSING ) ) {
setDefault(); this.dom = DocumentBuilderFactory.newInstance(); this.dom.setNamespaceAware(true); this.dom.setIgnoringComments(false); this.xform = javax.xml.transform.TransformerFactory.newInstance(); Context ctx = Context.getCurrentContext(); <extra_id_0> configureSecureDBF(this.dom); configureSecureTF(this.xform); } int poolSize = Runtime.getRuntime().availableProcessors() * 2; this.documentBuilderPool = new LinkedBlockingDeque<DocumentBuilder>(poolSize); }