From: Wayne Davison (wayned@blorf.net)
Date: Thu Sep 21 2000 - 02:32:49 EDT
My book-maker* fetched a web page that had a Ctrl-A at the end of the
title, and that caused the SAX push parser to infinite loop. The
following patch fixes this.
For a test case, take any web page, add a Ctrl-A into the text somewhere,
and then run it through "textHTML -sax -push".
Index: HTMLparser.c
@@ -4222,8 +4222,8 @@
ctxt->sax->error(ctxt->userData,
"detected an error in element content\n");
ctxt->wellFormed = 0;
- NEXT;
}
+ NEXT;
break;
}
..wayne..
P.S. (*) If anyone is interested in checking out my Rocket eBook "rbmake"
software, feel free to check out http://rbmake.sourceforge.net/ . I'm
still working on some portability features and have yet to create some
binary releases, but the code is working fairly well so far.
---- 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 : Thu Sep 21 2000 - 02:44:12 EDT