Subject: Re: Problems with LotusXSL.
From: "Scott Boag/CAM/Lotus" <Scott_Boag/CAM/Lotus@xxxxxxxxx>
Date: Tue, 16 Mar 1999 10:35:31 +0000 (EST)
|
You need to change the whichever .bat file you are using to use the right
XMLParserLiaison, probably the liaison for the TX compatibility classes.
For instance, run.bat should be changed to:
set savedCLASSPATH=%CLASSPATH%
set CLASSPATH=c:\xml4j_2_0_3\xml4j.jar;lotusxsl.jar;%CLASSPATH%
java com.lotus.xsl.xml4j2tx.XML4JLiaison %1 %2 %3 %4
set CLASSPATH=%savedCLASSPATH%
Sorry for the confusion. I should have made this more clear, or provided
different .bat files.
-scott
Michel Goossens <Michel.Goossens@xxxxxxx>@mulberrytech.com on 03/16/99
07:13:22 AM
Please respond to xsl-list@xxxxxxxxxxxxxxxx
Sent by: owner-xsl-list@xxxxxxxxxxxxxxxx
To: xsl-list@xxxxxxxxxxxxxxxx
cc:
Subject: Problems with LotusXSL.
I installed the latest versions of xml4j (2.0.3) and Lotusxsl
(0.16.3) and tried to make them work.
However, first I had to change the version in xml4j.jar for
com/ibm/xml/parser/Version.java (it was still 1.1 and lotusxsl
refused to work with that version) to 2.0.3.
Then the program begins, and shows the version:
>>>>>>> LotusXSL Version 0.16.3, XML4J Version 2.0.3 <<<<<<<
However, when I use it on the following small files
simple.xml, which contains:
<simple>XML is simple!</simple>and empty.xsl, which contains:
<xsl:stylesheet xmlns:xsl="http://www.w3.org/TR/WD-xsl">
</xsl:stylesheet>
Then I get the following when I type
java com.lotus.xsl.xml4j.ProcessXSL -in simple.xml -xsl empty.xsl -out
a.txt
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
XSL Warning: Found version 2.0.3 of XML4J.
This version of LotusXSL is only tested with version 1.1.14 of XML4J!
========= Parsing empty.xsl ==========
file:/afs/cern.ch/project/tex/lwc.work/ch-xmlstyle.work/empty.xsl: 1, 26:
Attribute, "xmlns:xsl", is not declared in element, "xsl:stylesheet".
file:/afs/cern.ch/project/tex/lwc.work/ch-xmlstyle.work/empty.xsl: 1, 26:
Attribute, "xmlns:xsl", is not declared in element, "xsl:stylesheet".
parseXML - URL =
file:/afs/cern.ch/project/tex/lwc.work/ch-xmlstyle.work/empty.xsl
file:/afs/cern.ch/project/tex/lwc.work/ch-xmlstyle.work/empty.xsl: 1, 26:
Attribute, "xmlns:xsl", is not declared in element, "xsl:stylesheet".
XSL Error: Cannot open stylesheet: empty.xsl
XSL Process was not successful.
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
James Clark's xt has no problems with these files and outputs
XML is simple!
as I would expect. What am I doing wrong? mg
Dr. Michel Goossens Phone: (+41 22) 767-5028
CERN, IT Division Fax : (+41 22) 767-8630
CH-1211 Geneva 23 Email: michel.goossens@xxxxxxx
Switzerland
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|