Ant, DocBook, XSLT and JDK 1.5

  • Thread starter Thomas Kellerer
  • Start date
T

Thomas Kellerer

Hello all,

I'm creating my documentation with ant (XSLT task) and docbook. So far
everything was working fine, but now I decided I'd like to switch from
JDK 1.4.2 to JDK 1.5

Apparently the XSLT/XML support in JDK 1.5 has changed dramatically,
XSLT stuff that worked before does not work any longer (experienced that
before with a web application that uses XSLT).

This change affects the Ant xslt task as well, and I can't get it to
process the docbook chunk.xsl anymore.

It stops with the error:

javax.xml.transform.TransformerConfigurationException: Translet class
'chunker' could not be loaded

Any ideas how I can get this to work with JDK 1.5?

Thanks in advance

Thomas
 
R

Roedy Green

Any ideas how I can get this to work with JDK 1.5?

Now that Java has built is XML support, you might want to either:

1. pull the old XML jars out.
OR
2. make sure the old XML jars in the EXT directory.
 
T

Thomas Kellerer

Roedy Green wrote on 01.11.2005 14:24:
Now that Java has built is XML support, you might want to either:

1. pull the old XML jars out.
OR
2. make sure the old XML jars in the EXT directory.

Thanks for the quick answer, but I have no "old" XML jars.

I have never added any library to either Ant nor the JDK to make it work
in JDK 1.4.


Regards
Thomas
 
R

Roedy Green

I have never added any library to either Ant nor the JDK to make it work
in JDK 1.4.

there might be something bundled in Ant.

The key is that Java recently started providing the XML classes
itself.

Make sure you have the latest Ant 1.6.5 that is aware of this change.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,994
Messages
2,570,223
Members
46,812
Latest member
GracielaWa

Latest Threads

Top