From d7ed299805d46d9b135d59da477e57bb2eb68984 Mon Sep 17 00:00:00 2001 From: fotis Date: Fri, 17 Nov 2000 10:15:43 +0000 Subject: [PATCH] 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 16e56c418074ee071246c86387f39d58aeb3c15c..cf70376efb8ac7ef2360e2b79787f4dcc22a97a3 100644 GIT binary patch delta 61 zcmbQrJC%3C1Xjk_$rD+-RMQx^7}FU<8M7G_7z-FQ8A}-q8Os>F7|R)g7%Lf~7;6}k R8EYpyuvsz2Pp)Q@0sz4c4cGtx delta 61 zcmbQrJC%3C1Xjkt$rD+-RAU&p7-Jbk850>47*iQE88aCS8M7F?7_%9I7;_n-81osD R84D&muvsyNOs-~=0syhi4Nd?6 diff --git a/lib/Xslt.class b/lib/Xslt.class index e1ce75e48c02c6748aa6c75de538791f3cf4d946..335ee24d36bcc80d70a2a276e00a2affc99ad3c4 100644 GIT binary patch delta 2106 zcmZuyYgANK6#fo#XU^r$L1YMR94VJNq60W6hzdS45fv0tc}Qg=PJqD-4x?hFyF;9h0>KZBhQp}fPffNg+sMW9tcS~^($GsY&uvo(q1XL{5 zunfyNR%o!u%_!Vw#{F0+#RFzMh=({Hj>IE)lw*|^Ko3c}S|k0KhR5-Q{929^Pl@KG(It<*e{Jvnndx6Ft@Q{nPwDx2sB^03{qB2<*p)4B$8*@DUC&hz=Gu zA}heh9ESux!C`?<@fpYG0!MIEk5*Dm#{`b!3q4!Ow4cC9jxPni!YP5Taf;&`fp1YF za2nqUxGs%p&u=J=$Dk7u?z#ezA~q)+ErTac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uteQKQ{6 z(H*3SXgAq8k~>&NQr|v8dnQj2+N^LC=fY8J3`cP~9L42u6r&~jP`Vp}W88thq{OkZ z7DuGuBn&2FGlkYnC04#G#!(Q?T(c9XE1r9SDL;23vDs|}-c%|WRe zwuxukxrSkJBX{0QIs4?!;FaAyBCBH$DL}_ODW&lWjWcjwGA;;vQJ70o`enKQRLZ6`RXI*9_R7Zeln@ye zBqaol5Si;YVj5K#o`gVT%dh1XvR-Xed#YtiOO@ZG7gtE;cQNTtspv0JkyoNgWRn7q_4LX1RxvE#4beB-Xuv-{VARt#J5ozZDKX93U5)Bp-1whI*6;$0 zpg$u&vyWk9d8H2-l>}QT4-h@wORarVv$iKouF+i@BiTtUvU3`*oMhEM;_5Xn!EAKC=BaZ6CwJJgG zay>!SnKadnOqIkKbpsPrGLu!16)J_5DxGzz2bHQ9TT}*hsy8Q97UxwqmsNkRr~&+; fa_BNi8e@n9MRNa{@*Kha+$PbMwW0E-FbwBk;f`%c 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 -- 2.39.5