[xml] HTMLParser bug...

Date view Thread view Subject view Author view

From: Marc Sanfacon (sanm@copernic.com)
Date: Fri Nov 17 2000 - 13:46:53 EST


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 !
:)

        Regards,
                Marc.

  
---------------------------------------------------------------------
 "Better the pride that resides, in a citizen of the world.
  Than the pride that divides, when a colorful rag is
  unfurled." Neil Peart
---------------------------------------------------------------------
Marc Sanfacon, Software developer Copernic.com
e-mail: msanfacon@copernic.com R&D Group
Tel : (418) 527-0528 ext 1212


----
Message from the list xml@rpmfind.net
Archived at : http://xmlsoft.org/messages/
to unsubscribe: echo "unsubscribe xml" | mail  majordomo@rpmfind.net


Date view Thread view Subject view Author view

This archive was generated by hypermail 2b29 : Fri Nov 17 2000 - 14:43:41 EST