[xml] Another looping error in HTML


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?

The file is at http://hank.org/modules/19980206154614.html

#0  0x40085f5d in htmlParseCharData (ctxt=0x80f6db0) at HTMLparser.c:2340
#1  0x4008933d in htmlParseTryOrFinish (ctxt=0x80f6db0, terminate=0) at
#2  0x4008975a in htmlParseChunk (ctxt=0x80f6db0, chunk=0xbfffed38
"\2261Þ)\013", size=2048, terminate=0)
    at HTMLparser.c:4621

And again: thanks very much,

Bill Moseley
mailto:moseley hank org

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