From: Daniel Veillard (Daniel.Veillard@w3.org)
Date: Tue Aug 01 2000 - 19:45:18 EDT
On Tue, Aug 01, 2000 at 06:03:02PM -0400, Daniel Veillard wrote:
> > For example, the document is 2001 bytes long. When reading using fread, it
> > strips the '\r' so this gives a total of 1971 bytes. When I put 1967 (1971
> > - 4 bytes for the header) or more, I get the error, a big chunk from my
> > document is skipped, but if I put 1966 or less, the document is parsed OK.
> >
> > I even modified 'testHTML.c' to use buffer of 1967 bytes to ensure I was OK,
> > and I had the same error using: testHTML -debug -repeat -push doc2.htm
>
> However your document raises the same problem on my environment
> so I will have a look at it and try to pinpoint and fix the problem.
Okay, I found the problem, fixed it (wasn't really trivial :-\)
and added your html in the testsuite. It's commited in W3C cvs base:
http://dev.w3.org/cvsweb/XML/HTMLparser.c.diff?r1=1.53&r2=1.54
Daniel
-- Daniel.Veillard@w3.org | W3C, INRIA Rhone-Alpes | Today's Bookmarks : Tel : +33 476 615 257 | 655, avenue de l'Europe | Linux XML libxml WWW Fax : +33 476 615 207 | 38330 Montbonnot FRANCE | Gnome rpm2html rpmfind http://www.w3.org/People/all#veillard%40w3.org | RPM badminton Kaffe ---- Message from the list xml@xmlsoft.org Archived at : http://xmlsoft.org/messages/ to unsubscribe: echo "unsubscribe xml" | mail majordomo@xmlsoft.org
This archive was generated by hypermail 2b29 : Wed Aug 02 2000 - 12:30:25 EDT