XML expat error

Marc 'BlackJack' Rintsch bj_666 at gmx.net
Thu Feb 28 02:18:49 EST 2008


On Wed, 27 Feb 2008 14:02:25 -0800, dirkheld wrote:

> Something strange here. The xml file causing the problem has only 361
> lines. Isn't there a way to catch this error, ignore it and continu
> with the rest of the other files?

Yes of course: handle the exception instead of letting it propagate to the
top level and ending the program.

Ciao,
	Marc 'BlackJack' Rintsch



More information about the Python-list mailing list