You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xalan.apache.org by sb...@locus.apache.org on 2000/01/26 20:44:08 UTC
cvs commit: xml-xalan/src/org/apache/xalan/xslt StylesheetRoot.java XSLTEngineImpl.java
sboag 00/01/26 11:44:08
Modified: src/org/apache/xalan/xslt StylesheetRoot.java
XSLTEngineImpl.java
Log:
Fixed problem with multiple SAXExceptions being thrown from some functions.
Revision Changes Path
1.18 +3 -6 xml-xalan/src/org/apache/xalan/xslt/StylesheetRoot.java
Index: StylesheetRoot.java
===================================================================
RCS file: /home/cvs/xml-xalan/src/org/apache/xalan/xslt/StylesheetRoot.java,v
retrieving revision 1.17
retrieving revision 1.18
diff -u -r1.17 -r1.18
--- StylesheetRoot.java 2000/01/06 22:33:35 1.17
+++ StylesheetRoot.java 2000/01/26 19:44:08 1.18
@@ -247,8 +247,7 @@
throws SAXException,
MalformedURLException,
FileNotFoundException,
- IOException,
- SAXException
+ IOException
{
XSLTProcessor iprocessor = new XSLTProcessorFactory().getProcessor();
process(iprocessor, iprocessor.getSourceTreeFromInput(xmlSource), outputTarget);
@@ -268,8 +267,7 @@
throws SAXException,
MalformedURLException,
FileNotFoundException,
- IOException,
- SAXException
+ IOException
{
process(iprocessor, iprocessor.getSourceTreeFromInput(xmlSource), outputTarget);
}
@@ -287,8 +285,7 @@
throws SAXException,
MalformedURLException,
FileNotFoundException,
- IOException,
- SAXException
+ IOException
{
XSLTEngineImpl processor = (XSLTEngineImpl)iprocessor; // TODO: Check for class cast exception
synchronized(processor)
1.30 +5 -9 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.29
retrieving revision 1.30
diff -u -r1.29 -r1.30
--- XSLTEngineImpl.java 2000/01/21 20:51:47 1.29
+++ XSLTEngineImpl.java 2000/01/26 19:44:08 1.30
@@ -1044,8 +1044,7 @@
throws SAXException,
java.net.MalformedURLException,
java.io.FileNotFoundException,
- java.io.IOException,
- SAXException
+ java.io.IOException
{
XObject value;
// Make the return object into an XObject because it
@@ -1742,7 +1741,7 @@
boolean shouldCloneWithChildren,
boolean overrideStrip,
boolean shouldCloneAttributes)
- throws SAXException, SAXException,
+ throws SAXException
MalformedURLException,
FileNotFoundException,
IOException
@@ -1896,8 +1895,7 @@
throws SAXException,
java.net.MalformedURLException,
java.io.FileNotFoundException,
- java.io.IOException,
- SAXException
+ java.io.IOException
{
// flushPending();
@@ -1946,8 +1944,7 @@
throws SAXException,
java.net.MalformedURLException,
java.io.FileNotFoundException,
- java.io.IOException,
- SAXException
+ java.io.IOException
{
flushPending();
@@ -1976,8 +1973,7 @@
throws SAXException,
java.net.MalformedURLException,
java.io.FileNotFoundException,
- java.io.IOException,
- SAXException
+ java.io.IOException
{
DocumentFragment docFrag = obj.rtree(support);
NodeList nl = docFrag.getChildNodes();