jkesselm 02/04/10 06:30:42
Modified: java/src/org/apache/xml/dtm/ref DTMManagerDefault.java
Log:
Cleaner disabling of experimental code. Sorry 'bout that.
Revision Changes Path
1.41 +9 -1
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.40
retrieving revision 1.41
diff -u -r1.40 -r1.41
--- DTMManagerDefault.java 9 Apr 2002 19:14:13 -0000 1.40
+++ DTMManagerDefault.java 10 Apr 2002 13:30:42 -0000 1.41
@@ -74,7 +74,11 @@
import org.apache.xml.dtm.ref.dom2dtm.DOM2DTM;
import org.apache.xml.dtm.ref.sax2dtm.SAX2DTM;
import org.apache.xml.dtm.ref.sax2dtm.SAX2RTFDTM;
+
+/**************************************************************
+// EXPERIMENTAL 3/22/02
import org.apache.xml.dtm.ref.xni2dtm.XNI2DTM;
+**************************************************************/
// W3C DOM
import org.w3c.dom.Document;
@@ -117,7 +121,7 @@
* */
public class DTMManagerDefault extends DTMManager
{
- static final boolean JKESS_XNI_EXPERIMENT=false;
+ //static final boolean JKESS_XNI_EXPERIMENT=true;
/** Set this to true if you want a dump of the DTM after creation. */
private static final boolean DUMPTREE = false;
@@ -407,6 +411,9 @@
}
+
+ /**************************************************************
+ // EXPERIMENTAL 3/22/02
if(JKESS_XNI_EXPERIMENT && m_incremental &
dtm instanceof XNI2DTM &&
coParser instanceof IncrementalSAXSource_Xerces)
@@ -420,6 +427,7 @@
// Listen to the SAX stream (will fail,
diagnostically...)
dtm.setIncrementalSAXSource(coParser);
} else
+ ***************************************************************/
// Have the DTM set itself up as the IncrementalSAXSource's
listener.
dtm.setIncrementalSAXSource(coParser);
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]