RE: Problem with xalan

2001-11-28 Thread Bendfelt, Tim (MED, nVisia, GEMS-IT)

use fork="true" to spawn a new VM. If I recall the linkage error is
caused by the ant task classloader loading a class from the xalan jar
that was already loaded by the system classloader from another source
(crimson.jar?) resulting in a seal error. In any event, the forking
should solve the problem.

Tim

> -Original Message-
> From: Stefan Thull [mailto:[EMAIL PROTECTED]]
> Sent: Monday, November 26, 2001 11:59 AM
> To: [EMAIL PROTECTED]
> Subject: Problem with xalan
> 
> 
> Hi,
> I am a newbie trying to use ant to transform a xml-file to 
> html with xalan.
> I am working with win 98 jdk 1.3, ant 1.4 and xalan 2
> 
> When I use the following  test.bat file xalan works:
> @echo off
> set 
> classpath=D:\tools\xalan\bin\xerces.jar;D:\tools\xalan\bin\xalan.jar
> java org.apache.xalan.xslt.Process -in test.xml -xsl 
> pre2html.xsl -out 
> test.html
> 
> Now I tried it with the following build.xml:
> 
> 
>
>
>
>
> 
>
>   
> 
>
> 
> 
> 
> 
> 
> 
> 
> I get the following error:
> \ant-test> ant
> Buildfile: build.xml
> 
> xsl:
>   [java]
>   [java]  XSLT Error 
> : 
> loader constraints violated when linking org/xml/sax/InputSource class
> 
> ---
> The same error appeared as I used path instead of location in the 
> classpath-tag.
> 
> What have I done wrong?
> 
> Thank you very much
> Stefan
> 
> 
> --
> To unsubscribe, e-mail:   

For additional commands, e-mail:


--
To unsubscribe, e-mail:   
For additional commands, e-mail: 



--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




RE: Problem with xalan

2001-11-27 Thread Stephane Bailliez

> -Original Message-
> From: Stefan Thull [mailto:[EMAIL PROTECTED]]

> I am a newbie trying to use ant to transform a xml-file to 
> html with xalan.
> I am working with win 98 jdk 1.3, ant 1.4 and xalan 2
[...]

On the side note, you'd better use the 

RE: Problem with xalan

2001-11-26 Thread Bendfelt, Tim (MED, nVisia, GEMS-IT)

use fork="true" to spawn a new VM. If I recall the linkage error is
caused by the ant task classloader loading a class from the xalan jar
that was already loaded by the system classloader from another source
(crimson.jar?) resulting in a seal error. In any event, the forking
should solve the problem.

Tim

> -Original Message-
> From: Stefan Thull [mailto:[EMAIL PROTECTED]]
> Sent: Monday, November 26, 2001 11:59 AM
> To: [EMAIL PROTECTED]
> Subject: Problem with xalan
> 
> 
> Hi,
> I am a newbie trying to use ant to transform a xml-file to 
> html with xalan.
> I am working with win 98 jdk 1.3, ant 1.4 and xalan 2
> 
> When I use the following  test.bat file xalan works:
> @echo off
> set 
> classpath=D:\tools\xalan\bin\xerces.jar;D:\tools\xalan\bin\xalan.jar
> java org.apache.xalan.xslt.Process -in test.xml -xsl 
> pre2html.xsl -out 
> test.html
> 
> Now I tried it with the following build.xml:
> 
> 
>
>
>
>
> 
>
>   
> 
>
> 
> 
> 
> 
> 
> 
> 
> I get the following error:
> \ant-test> ant
> Buildfile: build.xml
> 
> xsl:
>   [java]
>   [java]  XSLT Error 
> : 
> loader constraints violated when linking org/xml/sax/InputSource class
> 
> ---
> The same error appeared as I used path instead of location in the 
> classpath-tag.
> 
> What have I done wrong?
> 
> Thank you very much
> Stefan
> 
> 
> --
> To unsubscribe, e-mail:   

For additional commands, e-mail:


--
To unsubscribe, e-mail:   
For additional commands, e-mail: