robweir 00/02/23 09:09:45
Modified: src/org/apache/xalan/xpath/dtm DTM.java
src/org/apache/xalan/xpath/xml FormatterToDOM.java
FormatterToXML.java TreeWalker.java
src/org/apache/xalan/xslt XSLTEngineImpl.java
Log:
Changes needed to compile and run with the SAX2beta support in Xerces 1.02
Revision Changes Path
1.13 +11 -8 xml-xalan/src/org/apache/xalan/xpath/dtm/DTM.java
Index: DTM.java
===================================================================
RCS file: /home/cvs/xml-xalan/src/org/apache/xalan/xpath/dtm/DTM.java,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -r1.12 -r1.13
--- DTM.java 2000/02/23 15:16:15 1.12
+++ DTM.java 2000/02/23 17:09:43 1.13
@@ -63,6 +63,8 @@
import org.xml.sax.AttributeList;
import org.xml.sax.InputSource;
import org.xml.sax.SAXException;
+import org.xml.sax.SAXNotRecognizedException;
+import org.xml.sax.SAXNotSupportedException;
import java.io.IOException;
import org.apache.xerces.readers.XMLEntityHandler;
@@ -847,16 +849,17 @@
* @param featureId The unique identifier (URI) of the feature.
* @param state The requested state of the feature (true or false).
*
- * @exception SAXNotRecognizedException If the requested feature is
- * not known.
- * @exception SAXNotSupportedException If the requested feature is
- * known, but the requested state
- * is not supported.
- * @exception SAXException If there is any other problem fulfilling
- * the request.
+ * @exception org.xml.sax.SAXNotRecognizedException If the
+ * requested feature is not known.
+ * @exception org.xml.sax.SAXNotSupportedException If the
+ * requested feature is known, but the requested
+ * state is not supported.
+ * @exception org.xml.sax.SAXException If there is any other
+ * problem fulfilling the request.
*/
public void setFeature(String featureId, boolean state)
- throws SAXException
+ throws SAXNotRecognizedException, SAXNotSupportedException
+
{
if (featureId.startsWith(XERCES_FEATURES_PREFIX))
{
1.6 +1 -1
xml-xalan/src/org/apache/xalan/xpath/xml/FormatterToDOM.java
Index: FormatterToDOM.java
===================================================================
RCS file:
/home/cvs/xml-xalan/src/org/apache/xalan/xpath/xml/FormatterToDOM.java,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- FormatterToDOM.java 2000/01/13 21:49:20 1.5
+++ FormatterToDOM.java 2000/02/23 17:09:44 1.6
@@ -58,7 +58,7 @@
import org.xml.sax.*;
import org.w3c.dom.*;
import java.util.*;
-import org.xml.sax.misc.LexicalHandler;
+import org.xml.sax.ext.LexicalHandler;
/**
* This class takes SAX events (in addition to some extra events
1.27 +1 -1
xml-xalan/src/org/apache/xalan/xpath/xml/FormatterToXML.java
Index: FormatterToXML.java
===================================================================
RCS file:
/home/cvs/xml-xalan/src/org/apache/xalan/xpath/xml/FormatterToXML.java,v
retrieving revision 1.26
retrieving revision 1.27
diff -u -r1.26 -r1.27
--- FormatterToXML.java 2000/02/23 06:07:04 1.26
+++ FormatterToXML.java 2000/02/23 17:09:44 1.27
@@ -65,7 +65,7 @@
import java.util.Stack;
import java.util.Vector;
import org.xml.sax.*;
-import org.xml.sax.misc.*;
+import org.xml.sax.ext.LexicalHandler;
import java.util.Hashtable;
import org.apache.xml.serialize.Serializer;
import org.apache.xml.serialize.OutputFormat;
1.6 +1 -1 xml-xalan/src/org/apache/xalan/xpath/xml/TreeWalker.java
Index: TreeWalker.java
===================================================================
RCS file: /home/cvs/xml-xalan/src/org/apache/xalan/xpath/xml/TreeWalker.java,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- TreeWalker.java 2000/02/21 20:44:50 1.5
+++ TreeWalker.java 2000/02/23 17:09:44 1.6
@@ -58,7 +58,7 @@
import org.w3c.dom.*;
import org.xml.sax.*;
-import org.xml.sax.misc.LexicalHandler;
+import org.xml.sax.ext.LexicalHandler;
// import org.apache.xalan.xpath.dtm.*;
/**
1.46 +1 -1 xml-xalan/src/org/apache/xalan/xslt/XSLTEngineImpl.java
Index: XSLTEngineImpl.java
===================================================================
RCS file: /home/cvs/xml-xalan/src/org/apache/xalan/xslt/XSLTEngineImpl.java,v
retrieving revision 1.45
retrieving revision 1.46
diff -u -r1.45 -r1.46
--- XSLTEngineImpl.java 2000/02/23 08:53:00 1.45
+++ XSLTEngineImpl.java 2000/02/23 17:09:44 1.46
@@ -67,7 +67,7 @@
import java.lang.reflect.*;
import org.xml.sax.*;
import org.xml.sax.helpers.*;
-import org.xml.sax.misc.*;
+import org.xml.sax.ext.*;
import org.apache.xalan.xslt.trace.*;
import org.apache.xalan.xslt.res.XSLTErrorResources;
import org.apache.xalan.xpath.xml.XSLMessages;