XML Editor
Sign up for a WebBoard account Sign Up Keyword Search Search More Options... Options
Chat Rooms Chat Help Help News News Log in to WebBoard Log in Not Logged in
Show tree view Topic
Topic Page 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 Go to previous topicPrev TopicGo to next topicNext Topic
Postnext
Jeff HoranSubject: 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

Postnext
Jeff HoranSubject: 5.0SS Xalan-J setting causes error vs 4.6 no error
Author: Jeff Horan
Date: 14 Aug 2003 03:13 PM
line looks like:
]]>

Postnext
Jeff HoranSubject: 5.0SS Xalan-J setting causes error vs 4.6 no error
Author: Jeff Horan
Date: 14 Aug 2003 03:14 PM
let's try this one more time.

xsl:for-each select="str:tokenize(@fieldref)"

Postnext
Minollo I.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)?

Thanks,
Minollo

Postnext
Jeff HoranSubject: Re: 5.0SS Xalan-J setting causes error vs 4.6 no error
Author: Jeff Horan
Date: 14 Aug 2003 03:27 PM
I am using the bundled one. And default processor path is for the first setting, the Xalan-J processor.

Postnext
Minollo I.Subject: Re: 5.0SS Xalan-J setting causes error vs 4.6 no error
Author: Minollo I.
Date: 14 Aug 2003 03:40 PM
Oh, I guess you mean the setting in Tools|Options|XSLT Editor|External
XSLT; that's really a left over, and it's not used anymore when using XalanJ.

If you are using the version which is bundled in Stylus, we'll dig further;
can you confirm what JVM Stylus is using (help|about).

Thanks,
Minollo

Postnext
Jeff HoranSubject: Re: 5.0SS Xalan-J setting causes error vs 4.6 no error
Author: Jeff Horan
Date: 14 Aug 2003 03:46 PM
1.4.1_03-b02 Java HotSpot(TM) Client VM Sun Microsystems Inc.
debug mode port:8000

Postnext
Jeff HoranSubject: 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.

Posttop
Ivan PedruzziSubject: RE: 5.0SS Xalan-J setting causes error vs 4.6 no error
Author: Ivan Pedruzzi
Date: 14 Aug 2003 09:43 PM

Jeff,

We were able to reproduce the problem and fix it.
The fix will be available with the next update.

Thanks for your help and determination


Ivan Pedruzzi
Progress Software
http://www.stylusstudio.com


> -----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
>

 
Topic Page 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 Go to previous topicPrev TopicGo to next topicNext Topic
Download A Free Trial of Stylus Studio 6 XML Professional Edition Today! Powered by Stylus Studio, the world's leading XML IDE for XML, XSLT, XQuery, XML Schema, DTD, XPath, WSDL, XHTML, SQL/XML, and XML Mapping!  
go

Log In Options

Site Map | Privacy Policy | Terms of Use | Trademarks
Stylus Scoop XML Newsletter:
W3C Member
Stylus Studio® and DataDirect XQuery ™are from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2016 All Rights Reserved.