Problems with LotusXSL.

Subject: Problems with LotusXSL.
From: Michel Goossens <Michel.Goossens@xxxxxxx>
Date: Tue, 16 Mar 1999 13:13:22 +0100 (MET)
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


Current Thread