sboag 01/06/21 18:37:28
Modified: java/src/org/apache/xml/dtm/ref
CoroutineSAXParser_Xerces.java
Log:
Fix some minor problems caused by Costin's changes.
Revision Changes Path
1.4 +2 -1
xml-xalan/java/src/org/apache/xml/dtm/ref/CoroutineSAXParser_Xerces.java
Index: CoroutineSAXParser_Xerces.java
===================================================================
RCS file:
/home/cvs/xml-xalan/java/src/org/apache/xml/dtm/ref/CoroutineSAXParser_Xerces.java,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- CoroutineSAXParser_Xerces.java 2001/06/21 23:46:44 1.3
+++ CoroutineSAXParser_Xerces.java 2001/06/22 01:37:28 1.4
@@ -63,6 +63,7 @@
import java.io.IOException;
//import org.apache.xml.dtm.CoroutineManager;
import org.apache.xerces.parsers.SAXParser;
+import org.xml.sax.XMLReader;
/** <p>CoroutineSAXParser_Xerces takes advantage of the fact that Xerces
* incremental mode is already a coroutine of sorts, and just wraps our
@@ -111,7 +112,7 @@
public void init( CoroutineManager co, int appCoroutineID, XMLReader
ixsp ) {
if(ixsp!=null)
- incrementalParser=ixsp;
+ incrementalParser=(SAXParser)ixsp;
else
incrementalParser=new SAXParser();
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]