garyp 01/06/15 11:46:41
Modified: java/src/org/apache/xml/dtm/ref DTMManagerDefault.java
Log:
Backout of previous change which is considered ill-advised. The EntityResolver
should not be automatically propagated. Those wishing to do so should set up a custom
URIResolver returning a SAXSource with an appropriate XMLReader. See discussion and
example code in bug 1830 (http://nagoya.apache.org/bugzilla/show_bug.cgi?id=1830).
Revision Changes Path
1.6 +0 -15 xml-xalan/java/src/org/apache/xml/dtm/ref/DTMManagerDefault.java
Index: DTMManagerDefault.java
===================================================================
RCS file:
/home/cvs/xml-xalan/java/src/org/apache/xml/dtm/ref/DTMManagerDefault.java,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- DTMManagerDefault.java 2001/06/15 05:31:48 1.5
+++ DTMManagerDefault.java 2001/06/15 18:46:41 1.6
@@ -137,11 +137,6 @@
new ExpandedNameTable();
/**
- * The most recent EntityResolver used.
- */
- private EntityResolver m_lastEntityResolver;
-
- /**
* Constructor DTMManagerDefault
*
*/
@@ -531,16 +526,6 @@
// What can we do?
// TODO: User diagnostics.
- }
-
- EntityResolver currentEntityResolver = reader.getEntityResolver();
- if (null != currentEntityResolver)
- {
- m_lastEntityResolver = currentEntityResolver;
- }
- else if (null != m_lastEntityResolver)
- {
- reader.setEntityResolver(m_lastEntityResolver);
}
return reader;
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]