[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Problems with LotusXSL.

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

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.