aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorfotis <fotis@unknown>2000-11-17 10:15:43 +0000
committerfotis <fotis@unknown>2000-11-17 10:15:43 +0000
commitd7ed299805d46d9b135d59da477e57bb2eb68984 (patch)
tree6d1476c103e6e62cd73d2802a1335eb300806cbc
parent349df02eb000327f8c702e24f5410ce1600d4ba5 (diff)
downloadxmlgraphics-fop-d7ed299805d46d9b135d59da477e57bb2eb68984.tar.gz
xmlgraphics-fop-d7ed299805d46d9b135d59da477e57bb2eb68984.zip
Stops automatic switching of Xalan to the XercesLiaison class and the Xerces DOM
[Kelly Campbell] git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@193825 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r--lib/Xslt$StylesheetCache.classbin1685 -> 1685 bytes
-rw-r--r--lib/Xslt.classbin4784 -> 5043 bytes
-rw-r--r--lib/Xslt.java6
3 files changed, 3 insertions, 3 deletions
diff --git a/lib/Xslt$StylesheetCache.class b/lib/Xslt$StylesheetCache.class
index 16e56c418..cf70376ef 100644
--- a/lib/Xslt$StylesheetCache.class
+++ b/lib/Xslt$StylesheetCache.class
Binary files differ
diff --git a/lib/Xslt.class b/lib/Xslt.class
index e1ce75e48..335ee24d3 100644
--- a/lib/Xslt.class
+++ b/lib/Xslt.class
Binary files differ
diff --git a/lib/Xslt.java b/lib/Xslt.java
index cbb25a0fc..59bae69b0 100644
--- a/lib/Xslt.java
+++ b/lib/Xslt.java
@@ -61,8 +61,7 @@ import java.util.*;
import org.apache.xalan.xslt.*;
import org.w3c.dom.*;
import org.xml.sax.SAXException;
-import org.w3c.dom.*;
-import org.xml.sax.SAXException;
+
/**
* Task to call the XSLT processor Xalan (part of xml.apache.org), which converts xml files
@@ -213,7 +212,8 @@ public class Xslt extends Task {
xsltfile + "\nout: " + outfile);
System.out.println("============================");
- stylesheet.process(xmlSource, xmlResult);
+ stylesheet.process(XSLTProcessorFactory.getProcessor(new org.apache.xalan.xpath.xdom.XercesLiaison()),
+ xmlSource, xmlResult);
} //end transform