The Author Online Book Forums are Moving

The Author Online Book Forums will soon redirect to Manning's liveBook and liveVideo. All book forum content will migrate to liveBook's discussion forum and all video forum content will migrate to liveVideo. Log in to liveBook or liveVideo with your Manning credentials to join the discussion!

Thank you for your engagement in the AoF over the years! We look forward to offering you a more enhanced forum experience.

import-bot (20211) [Avatar] Offline
#1
[Originally posted by scooby]

Hi!

I'm trying to compile the souce code for Chp4 using Ant 1.5.1.
Will this work?

According to the Ant log file, it can't find the package:

org.apache.xerces.readers.DefaultReaderFactory.

Well, I searched the .jar files of Ant 1.5.1 and I couldn't find them either.

Am I missing something?

Thanks in Advance!
Nardo
import-bot (20211) [Avatar] Offline
#2
Re: Chp4: Compile with Ant 1.5.1?
[Originally posted by iainshigeoka]

Hi,

The current code contains a 'hack' to workaround Xerces inability to handle
streaming XML in a nice manner. This requires that you use the version of
Xerces that is included in the library distribution on the book website. The
workaround itself is explained in the book. If you don't use this version of
Xerces you must port the workaround to the version of Xerces you are using.
(the workaround accesses non-public classes of Xerces and these classes have
changed between Xerces releases).

Hope this helps.

-iain