Subject:5.0SS Xalan-J setting causes error vs 4.6 no error Author:Jeff Horan Date:14 Aug 2003 03:08 PM
I'm using tokenize extension in Xalan-J. What worked in 4.6 does not work in 5.0.
The error i get is:
PDFSpecGenerator.xsl (925, 74): java.lang.RuntimeException: java.lang.ClassCastException: org.apache.xerces.dom.TextImpl
Line 925 looks like:
My PI has:
xmlns:str="http://xml.apache.org/xalan"
My External XSLT setting:
Default Processor:
C:\j2sdk1.4.1_03\xalan-j_2_5_1\bin\xalan.jar
Subject:Re: 5.0SS Xalan-J setting causes error vs 4.6 no error Author:Minollo I. Date:14 Aug 2003 03:25 PM
Thanks Jeff.
So, this is running XalanJ as an external processor, right? Stylus doesn't
play a big role in that case; it just runs the line you specify. Have you
set any special ClassPath setting for your external processor?
BTW, what does it happen if you use the XalanJ bundled in Stylus (XalanJ
setting in the Processor tab)?
Subject:Re: 5.0SS Xalan-J setting causes error vs 4.6 no error Author:Jeff Horan Date:14 Aug 2003 05:36 PM
Carlo,
The tokenize extension function does NOT throw and error when it is in a value-of statement. It also doesn't error when passed into a key() function. It does, however, error when alone in the select of a for-each.
> -----Original Message-----
> From: stylus-studio-tech Listmanager
> [mailto:listmanager@edn.exln.com]
> Sent: Thursday, August 14, 2003 5:59 PM
> To: Recipients of 'stylus-studio-tech' suppressed
> Subject: Re: 5.0SS Xalan-J setting causes error vs 4.6 no error
>
>
> From: "Jeff Horan"
>
> Carlo,
> The tokenize extension function does NOT throw and error when
> it is in a value-of statement. It also doesn't error when
> passed into a key() function. It does, however, error when
> alone in the select of a for-each.
>
>
>
> To reply: mailto:stylus-studio-tech.6941@edn.exln.com
> To start a new topic: mailto:stylus-studio-tech@edn.exln.com
> To login: http://edn.exln.com/~SSDN
>