RE: Problems with LotusXSL.

Subject: RE: Problems with LotusXSL.
From: Ed Nixon <ed.nixon@xxxxxxxxxxxxxxxxx>
Date: Tue, 16 Mar 1999 08:23:49 -0500
What am I doing wrong? Perhaps nothing. There are reportedly many problems 
with the latest version of the IBM parser. One source (Cafe con Leche site) 
says he has been unable to make version 2.0.3 function without generating 
fatal exceptions.

It's probably wise to retrench to version 1.1.14 of xml4j or, 
alternatively, stick with what you know works -- xt.

	...edN

-----Original Message-----
From:	Michel Goossens [SMTP:Michel.Goossens@xxxxxxx]
Sent:	Tuesday, March 16, 1999 7:13 AM
To:	xsl-list@xxxxxxxxxxxxxxxx
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

begin 600 WINMAIL.DAT
M>)\^(C,-`0:0" `$```````!``$``0>0!@`(````Y 0```````#H``$(@ <`
M& ```$E032Y-:6-R;W-O9G0@36%I;"Y.;W1E`#$(`0V ! `"`````@`"``$$
MD 8`V $```$````1`````P``, (````+``\.``````(!_P\!````40``````
M``"!*Q^DOJ,0&9UN`-T!#U0"`````'AS;"UL:7-T0&UU;&)E<G)Y=&5C:"YC
M;VT`4TU44 !X<VPM;&ES=$!M=6QB97)R>71E8V@N8V]M`````!X``C !````
M!0```%--5% `````'@`#, $````:````>'-L+6QI<W1 ;75L8F5R<GET96-H
M+F-O;0````,`%0P!`````P#^#P8````>``$P`0```!P````G>'-L+6QI<W1 
M;75L8F5R<GET96-H+F-O;2<``@$+, $````?````4TU44#I84TPM3$E35$!-
M54Q"15)2651%0T@N0T]-```#```Y``````L`0#H!`````P!Q.@`````>`/9?
M`0```!H```!X<VPM;&ES=$!M=6QB97)R>71E8V@N8V]M`````@'W7P$```!1
M`````````($K'Z2^HQ 9G6X`W0$/5 (`````>'-L+6QI<W1 ;75L8F5R<GET
M96-H+F-O;0!33510`'AS;"UL:7-T0&UU;&)E<G)Y=&5C:"YC;VT``````P#]
M7P$````#`/]?``````(!]@\!````! ````````*0:@$$@ $`' ```%)%.B!0
M<F]B;&5M<R!W:71H($QO='5S6%-,+@!M"0$%@ ,`#@```,\'`P`0``@`%P`Q
M``(`.P$!(( #``X```#/!P,`$ `(`!0`. `"`#\!`0F `0`A````1D9".# Q
M0T5!,D1"1#(Q,3DR,#(P,#8P-C<T,SE$-34`#@<!`Y &`-0)```B````"P`"
M``$````+`",```````,`)@``````"P`I```````#`"X```````,`-@``````
M0 `Y`,"R)SJP;[X!'@!P``$````<````4D4Z(%!R;V)L96US('=I=&@@3&]T
M=7-84TPN``(!<0`!````%@````&^;[ Z#,X!N0#;HA'2D@(`8&=#G54``!X`
M'@P!````!0```%--5% `````'@`?# $````;````960N;FEX;VY 3'EN;E!A
M<FM0;&%C92YO<F<```,`!A" MG"J`P`'$"L(```>``@0`0```&4```!72$%4
M04U)1$])3D=74D].1S]015)(05!33D]42$E.1U1(15)%05)%4D503U)4141,
M64U!3EE04D]"3$5-4U=)5$A42$5,051%4U1615)324].3T942$5)0DU005)3
M15)/3D53``````(!"1 !````G 8``)@&``"## ``3%I&=></V>L_``H!`P'W
M`J0#XP(`8VC!"L!S970P( <3`H-#`% .YG!R<3(/3WTF?0J ",@@.PEO,C66
M-0* "H%V")!W:PN M&0T#&!C`% +`V,`08$+8&YG,3 S,PNF#"!7#W %0&%M
M($F((&1O"X!G('<#8+$6H#\@4 20#W!P!" 0;F]T:!A1+B!4NF@$D&47T!I!
M"7!P"1%Q"8!L>2 #@1M $3!ON0)@96T$( /P&: @&:#7&E +8!L`<P5 =@20
M`) 1`B @;V8<@TE"34L;H ^"<AGP3VX:4'.%"&%C&E H0V%F&E![!: #H$P%
MD!RA`) ;`"EY'R!A>00@'*$/< 0@8G$)X2!U;@&@&_ <@&\-&U%K&E =1C(N
M,"[(,R!F(A!C=!V"'$)["& %0&<)\ 20%[ 84F;C%[ '0"!E>!]P!3 =@1QS
M+@JB"H0*@$ET)W\$(!NR(C$;0 /Q(F,)<'2?"7 D`!QQ(I =1C$N*A&"-!VR
M>&UL-&H=L/1R+!?0;!L`!* E01U 1QLP*S =$&EC:QPT=V47HGD(8"!K&8 '
MX'>E!;!K!" M+2J@=":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Q?P(@&S$<\D@1'$,IGV!4(?M2=2:T/8G6&/ /@1A2>K@]
MB=<])K1ELG!P'\!S+R\ZY5.0`V!"0B\;`'@ON&QW8W#0+>&-(&AQH%\JP&[3
MCJ1L)X)0,2LP,EHV@E!!`D %$&(DP&7U*S B;X<B*S!I\1F!&"#_!9 +8 EQ
M46(K\!P`/ &1POUNJR(FI8R?C:^.OX_/D-]_D>^2_Y0/E1L><VFR+D!5_E)?
M0(I0E>^6_Y@/F1R5C_^@_Z(/HQ^9SYK?F^^<_YX/O8&$14#0!;""4!^P;JL"
M_F]V4'F1;N>"4*/-7R)XQ?M5$ZL"<Q6P>/(CX#HP?%_?M!^U+[8_@)\FM$H7
MX >1^D.K<6LGD2Y@(7,9@!NOWP>09)%EPDJ#)+%P),!E^W]IO&LK!" 8$"W0
M0)!L`7B?=E D$!GP%Y\8I&UG)KKN1![!.([#HE DH!\`@E!(*"LT5> R,B#@
M-X V-RTU,#(X)K000T523BLP250@'D0KT 0`'8+&Y$9A>"/#H,1-.#8S1Q5#
M2&DV4#(Q5>!')0%4L3*[(\#&Y$4`P ,0@E!M.?369SIM)K13'$%Z!) 6@3](
M(,VH, XF]F!01% M3/] 04>1`A!*@SUB*]&"4"% ?W!(0(YR<G)R0",FNA*1
M``'5( ,`$! ``````P`1$ `````>`$(0`0````$``````````P" $/____] 
M``<P0.E+TZ]OO@% ``@P0.E+TZ]OO@$+``" "" &``````# ````````1@``
M```#A0````````,``H (( 8``````, ```````!&`````!"%`````````P`%
M@ @@!@``````P ```````$8`````4H4``/,5```>`"6 "" &``````# ````
M````1@````!4A0```0````4````X+C T``````,`)H (( 8``````, `````
M``!&``````&%````````"P`O@ @@!@``````P ```````$8`````#H4`````
M```#`#" "" &``````# ````````1@`````1A0````````,`,H (( 8`````
M`, ```````!&`````!B%````````'@!!@ @@!@``````P ```````$8`````
M-H4```$````!`````````!X`0H (( 8``````, ```````!&`````#>%```!
M`````0`````````>`$. "" &``````# ````````1@`````XA0```0````$`
D````````'@`]``$````%````4D4Z( `````#``TT_3<``"7(
`
end


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread