From d7ed299805d46d9b135d59da477e57bb2eb68984 Mon Sep 17 00:00:00 2001 From: fotis Date: Fri, 17 Nov 2000 10:15:43 +0000 Subject: 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 --- lib/Xslt$StylesheetCache.class | Bin 1685 -> 1685 bytes lib/Xslt.class | Bin 4784 -> 5043 bytes lib/Xslt.java | 6 +++--- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/Xslt$StylesheetCache.class b/lib/Xslt$StylesheetCache.class index 16e56c418..cf70376ef 100644 Binary files a/lib/Xslt$StylesheetCache.class and b/lib/Xslt$StylesheetCache.class differ diff --git a/lib/Xslt.class b/lib/Xslt.class index e1ce75e48..335ee24d3 100644 Binary files a/lib/Xslt.class and b/lib/Xslt.class 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 -- cgit v1.2.3