Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / General / November 2005

Tip: Looking for answers? Try searching our database.

Ant, DocBook, XSLT and JDK 1.5

Thread view: 
Thomas Kellerer - 01 Nov 2005 14:12 GMT
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
Roedy Green - 01 Nov 2005 14:24 GMT
On Tue, 01 Nov 2005 14:12:29 +0100, Thomas Kellerer
<WVIJEVPANEHT@spammotel.com> wrote, quoted or indirectly quoted
someone who said :

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

Canadian Mind Products, Roedy Green.
http://mindprod.com Java custom programming, consulting and coaching.

Thomas Kellerer - 01 Nov 2005 14:45 GMT
Roedy Green wrote on 01.11.2005 14:24:

>>Any ideas how I can get this to work with JDK 1.5?
>
[quoted text clipped - 3 lines]
> 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
Roedy Green - 02 Nov 2005 03:10 GMT
On Tue, 01 Nov 2005 14:45:07 +0100, Thomas Kellerer
<WVIJEVPANEHT@spammotel.com> wrote, quoted or indirectly quoted
someone who said :

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

Signature

Canadian Mind Products, Roedy Green.
http://mindprod.com Java custom programming, consulting and coaching.



Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.