From: Marc Sanfacon (sanm@copernic.com)
Date: Fri Nov 17 2000 - 15:54:19 EST
Oups, sorry...
Just in case it doesn't work, here is the code:
<center>
<html><head><TITLE>Classifieds</TITLE>
</head><body>
<center>
</center><a name=rsearch"></form></BODY></HTML><!-- END PAGE FOOTER
--></center>
One of the files contains 5 lines, no CR at the end. This one is causing
the bug. The other ones contains 6 lines, with a CR at the end. No bug.
On Fri, Nov 17, 2000 at 01:46:53PM -0500, Marc Sanfacon wrote:
> It's me again ! :)
> I have found a strange bug in the HTMLParser. I am currently
> tracing it. I enabled DEBUG in HTMLParser.c and it crashes ! Oups.
Without
> DEBUG it simply gives the wrong result (a tag body is not closed).
>
> I have attached 2 files, one is the bug and the other does not
> causes it. The only difference between the 2 files is that one ends with
a
> \n (the one that works) and the other one does not.
>
> Again this is a simplified html page from the wonderful Internet !
> :)
Looks like an MS binary proprietary format attachment to me
is that what you tried to parse ? ;-)
zipped or uuencoded I may have a chance to extract it ...
Daniel
-- Daniel.Veillard@w3.org | W3C, INRIA Rhone-Alpes | libxml Gnome XML toolkit Tel : +33 476 615 257 | 655, avenue de l'Europe | http://xmlsoft.org/ Fax : +33 476 615 207 | 38330 Montbonnot FRANCE | Rpmfind search site http://www.w3.org/People/all#veillard%40w3.org | http://rpmfind.net/ ---- Message from the list xml@rpmfind.net Archived at : http://xmlsoft.org/messages/ to unsubscribe: echo "unsubscribe xml" | mail majordomo@rpmfind.netbegin 600 BUGEndLine.txt M/&-E;G1E<CX*/&AT;6P^/&AE860^/%1)5$Q%/D-L87-S:69I961S/"]4251, M13X*/"]H96%D/CQB;V1Y/@H\8V5N=&5R/@H\+V-E;G1E<CX\82!N86UE/7)S M96%R8V@B/CPO9F]R;3X\+T)/1%D^/"](5$U,/CPA+2T@14Y$(%!!1T4@1D]/ 05$52("TM/CPO8V5N=&5R/@== ` end
begin 600 No-BUGEndLine.txt M/&-E;G1E<CX*/&AT;6P^/&AE860^/%1)5$Q%/D-L87-S:69I961S/"]4251, M13X*/"]H96%D/CQB;V1Y/@H\8V5N=&5R/@H\+V-E;G1E<CX\82!N86UE/7)S M96%R8V@B/CPO9F]R;3X\+T)/1%D^/"](5$U,/CPA+2T@14Y$(%!!1T4@1D]/ 25$52("TM/CPO8V5N=&5R/@T* ` end ---- Message from the list xml@rpmfind.net Archived at : http://xmlsoft.org/messages/ to unsubscribe: echo "unsubscribe xml" | mail majordomo@rpmfind.net
This archive was generated by hypermail 2b29 : Fri Nov 17 2000 - 16:44:36 EST