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
Stéphane BOCQUETSubject: How to configure SS 4.5 to use Xalan?
Author: Stéphane BOCQUET
Date: 06 Mar 2003 08:15 AM
Hi,

I try to use the Xalan XSLT processor with my XSL style sheet. I just check the option in the scenario I have created, in the processor tab of the dialog box (Use Xalan-J processor option).

Is there anything else to do, and if yes, can someone explain it to me.

Thanks,

Cheers,

Stéphane.

Postnext
Minollo I.Subject: Re: How to configure SS 4.5 to use Xalan?
Author: Minollo I.
Date: 06 Mar 2003 09:38 AM
Nothing else is needed. I'm assuming you are running a reasonably recent
4.x build, like BL103r which is currently available on our website.

Minollo

Postnext
Stéphane BOCQUETSubject: Re: How to configure SS 4.5 to use Xalan?
Author: Stéphane BOCQUET
Date: 06 Mar 2003 11:33 AM
Hi,

I'm with v4.6, build 103q

In fact, my problem is that when I use the XALAN option, nothing goes on !! But when I use the built-in processor, It goes on very well !

I need to use XALAN because my project is built with Xalan 2.4.1, in order to limit the differences between the 2 processors.

Do I need to configure the Tools/Options/XSLT Editor/External XSLT/XALAN options?

Cheers,
Stéphane

Postnext
Minollo I.Subject: Re: How to configure SS 4.5 to use Xalan?
Author: Minollo I.
Date: 06 Mar 2003 12:15 PM
I'm assuming you have a JVM installed on your machine.
Can you check the Stylus About box and tell us what JVM information you
read in there?

BTW, no, you are not supposed to have to do any extra configuration to run
XalanJ.

Minollo

Postnext
Stéphane BOCQUETSubject: Re: How to configure SS 4.5 to use Xalan?
Author: Stéphane BOCQUET
Date: 06 Mar 2003 12:18 PM
Hi,

Apparently, it's a JVM problem, because I have this message : Unable to connect to JVM.
In the About dialog box, I have a 'Java Runtime Initialisation failed' message.

SUN's Java v1.4.1_01 is installed on C:\Program Files\Java... Can this be the problem (I mean, the space character between 'Program' & 'Files')? I'm with Windows 2000 OS.

Cheers,
Stéphane

Postnext
Minollo I.Subject: Re: How to configure SS 4.5 to use Xalan?
Author: Minollo I.
Date: 06 Mar 2003 12:45 PM
Can you try choosing the Tools|Options|Java Virtual Machine option page,
hit Auto-Detect and re-run Stylus?

Minollo

Postnext
Stéphane BOCQUETSubject: Re: How to configure SS 4.5 to use Xalan?
Author: Stéphane BOCQUET
Date: 06 Mar 2003 12:50 PM
OK...

It's done... Here are the results.
- Runtime Library :
C:\Program Files\Java\j2re1.4.1_01\bin\client\jvm.dll
- Home Directory :
C:\Program Files\Java
- Classpath :
${classpath}
- Parameters :
-Xdebug -Xnoagent -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=8000 -Djava.compiler=NONE

Stéphane

Postnext
Minollo I.Subject: Re: How to configure SS 4.5 to use Xalan?
Author: Minollo I.
Date: 06 Mar 2003 01:00 PM
Ok... does it work better now?

Postnext
Stéphane BOCQUETSubject: Re: How to configure SS 4.5 to use Xalan?
Author: Stéphane BOCQUET
Date: 06 Mar 2003 01:09 PM
I restart it another time and get this message at this time :
Java runtime wrong version. Version 1.2.2 or above it is required

And if I go on with the transformation of my scenario, the message "Unable to connect to JVM" appears again in the about dialog box.

Strange, because I only have this JVM ever installed on this PC.

Postnext
Lee HumphriesSubject: Re: How to configure SS 4.5 to use Xalan?
Author: Lee Humphries
Date: 06 Mar 2003 06:26 PM
Simple answer - you'll need a 1.3 version of Java. 1.4 is very different from 1.2/1.3 and not a lot of things support it yet.

Lee

Postnext
Ivan PedruzziSubject: RE: How to configure SS 4.5 to use Xalan?
Author: Ivan Pedruzzi
Date: 06 Mar 2003 06:38 PM
Lee,

We always test Stylus with JRE 1.3.x and 1.4.x. I am running 1.4 myself
without problems.
We are actively working with Stéphane to discover what is the cause.

Ivan


> -----Original Message-----
> From: stylus-studio-tech Listmanager
> [mailto:listmanager@edn.exln.com]
> Sent: Thursday, March 06, 2003 6:45 PM
> To: Recipients of 'stylus-studio-tech' suppressed
> Subject: Re: How to configure SS 4.5 to use Xalan?
>
>
> From: "Lee Humphries"
>
> Simple answer - you'll need a 1.3 version of Java. 1.4 is
> very different from 1.2/1.3 and not a lot of things support it yet.
>
> Lee
>
>
>
> To reply: mailto:stylus-studio-tech.6407@edn.exln.com
> To start a new topic: mailto:stylus-studio-tech@edn.exln.com
> To login: http://edn.exln.com/~SSDN
>

Postnext
Lee HumphriesSubject: RE: How to configure SS 4.5 to use Xalan?
Author: Lee Humphries
Date: 06 Mar 2003 07:01 PM
Hi Ivan,

>We always test Stylus with JRE 1.3.x and
>1.4.x. I am running 1.4 myself without
>problems.
I'm running on a Win2K machine that's service packed to the eyeballs, and I've usually had difficulties with 1.4 (with lots of things not just Stylus).
However 1.3 and MacroSlop's JVM (urk) have worked OK.

Regards, Lee

Postnext
Stéphane BOCQUETSubject: RE: How to configure SS 4.5 to use Xalan?
Author: Stéphane BOCQUET
Date: 07 Mar 2003 03:27 AM
Hi everybody,

I actually have no problems with the JVM 1.4.1_01 with none of any applications. Moreover, I need it because my project use it !!! So I don't want to have 2 JVM installed on my PC...

I have try to delete the debug options, except -Djava.compiler=NONE in the option dialog box, and it'sthe same message, just after starting SS : Java runtime initialization failed

I was thinking of something...
I have a "special configuration" for the JVM, that is that with have the last XALAN (2.4.1) configured with. (Add of a special directory which contains xalan.jar [C:\Program Files\j2re1.4.1_01\lib\endorsed], which allow to bypass the XALAN implementation that is bugged (for our use of a special function in Maverick framework) with JVL 1.4.1)

Can this be a problem?

Cheers,
Stéphane

Postnext
Stéphane BOCQUETSubject: RE: How to configure SS 4.5 to use Xalan?
Author: Stéphane BOCQUET
Date: 07 Mar 2003 03:43 AM
I have tried without this special configuration by deleting my "special" directory, and it's the same answer as always...

That wasn't that ;-)))

Postnext
Stéphane BOCQUETSubject: RE: How to configure SS 4.5 to use Xalan?
Author: Stéphane BOCQUET
Date: 07 Mar 2003 04:10 AM
FINALLY GOT IT ONE TIME !!!
I think it's the place where I have installed Java (Grrr...) [Program Files ;-(((]

It has work with this param...
- Runtime Library :
C:\Progra~1\Java\J2RE14~1.1_0\bin\client\jvm.dll
- Home Directory :
C:\Progra~1\Java

But after trying another thing (I can't remember what !!!), I got the error came back...

Going on searching...

Cheers Stéphane

Stéphane

Postnext
Stéphane BOCQUETSubject: RE: How to configure SS 4.5 to use Xalan?
Author: Stéphane BOCQUET
Date: 07 Mar 2003 04:34 AM
OK...

I have finally identified the problem...

I do an auto-detect of the JVM. It finds it in the correct directory.
- If I open SS automatically with my project, the JVM is not detected !!! [About box]
- If I open SS with no project, or with a single XSL file, the JVM is detected, and correctly used. If I open my project (the same as above), the JVM is still detected and correctly used !!!
Strange, because in the project configuration file (.prj file), I see no informations stored about the JVM.

So, the problem is not the directory structure [Program Files]... I've verified it.

Can someone could explain to me what appends exactly?

Cheers,
Stéphane

Posttop
Stéphane BOCQUETSubject: RE: How to configure SS 4.5 to use Xalan?
Author: Stéphane BOCQUET
Date: 07 Mar 2003 05:31 AM
More infos...

It seems to append with older project files, not with project files created with the 4.6, 103r version ! ! !
Seems like a little bug !

Cheers,
Stéphane

 
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.