Re: [xml] Another looping error in HTML

On Wed, Oct 17, 2001 at 07:34:14AM -0700, Bill Moseley wrote:

This time I had a file that had garbage in it, and that caused libxml2 to

./testHTML --push repeated with:

19980206154614.html:352: error: detected an error in element content

Is it reasonable to expect the parser to deal with anything thrown at it?

  yes, it's a bug.

The file is at

The patch is at

  It might be a bit brutal, i.e. may abort abruptly in the middle of
a corrupted file, but at least it should not hang looping anymore.


Daniel Veillard      | Red Hat Network
veillard redhat com  | libxml Gnome XML XSLT toolkit | Rpmfind RPM search engine

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]