src/com/sun/org/apache/xalan/internal/xsltc/dom/DocumentCache.java
Print this page
*** 154,165 ****
* DocumentCache constructor
*/
public DocumentCache(int size) throws SAXException {
this(size, null);
try {
! _dtmManager = (XSLTCDTMManager)XSLTCDTMManager.getDTMManagerClass()
! .newInstance();
} catch (Exception e) {
throw new SAXException(e);
}
}
--- 154,164 ----
* DocumentCache constructor
*/
public DocumentCache(int size) throws SAXException {
this(size, null);
try {
! _dtmManager = XSLTCDTMManager.createNewDTMManagerInstance();
} catch (Exception e) {
throw new SAXException(e);
}
}
*** 253,262 ****
--- 252,262 ----
/**
* Returns a document either by finding it in the cache or
* downloading it and putting it in the cache.
*/
+ @Override
public DOM retrieveDocument(String baseURI, String href, Translet trs) {
CachedDocument doc;
String uri = href;
if (baseURI != null && !baseURI.equals("")) {