diff Doc/lib/libhtmlparser.tex @ 18396:7de5c376232c legacy-trunk

Added more information on the differences between the htmllib and HTMLParser modules.
author Fred Drake <fdrake@acm.org>
date Thu, 05 Jul 2001 16:34:36 +0000
parents baf2137e9676
children ee6df2c668ea
line wrap: on
line diff
--- a/Doc/lib/libhtmlparser.tex	Thu Jul 05 15:27:19 2001 +0000
+++ b/Doc/lib/libhtmlparser.tex	Thu Jul 05 16:34:36 2001 +0000
@@ -6,7 +6,9 @@
 
 This module defines a class \class{HTMLParser} which serves as the
 basis for parsing text files formatted in HTML\index{HTML} (HyperText
-Mark-up Language) and XHTML.\index{XHTML}
+Mark-up Language) and XHTML.\index{XHTML}  Unlike the parser in
+\refmodule{htmllib}, this parser is not based on the SGML parser in
+\refmodule{sgmllib}.
 
 
 \begin{classdesc}{HTMLParser}{}
@@ -15,6 +17,10 @@
 An HTMLParser instance is fed HTML data and calls handler functions
 when tags begin and end.  The \class{HTMLParser} class is meant to be
 overridden by the user to provide a desired behavior.
+
+Unlike the parser in \refmodule{htmllib}, this parser does not check
+that end tags match start tags or call the end-tag handler for
+elements which are closed implicitly by closing an outer element.
 \end{classdesc}