[Python-de] Unterschiede htmllib und HTMLParser und Eignung
Hartmut Goebel
h.goebel at goebel-consult.de
Son Feb 5 11:39:44 CET 2006
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Andreas Pakulat schrieb:
> ich hab da mal ne Frage zu obigen beiden Parsern: Wo liegen da die
> Unterschiede? Auf den ersten Blick scheint die "nicht-Ableitung" von
Aus http://www.python.org/doc/lib/module-HTMLParser.html:
Unlike the parser in 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.
- --
Schönen Gruß - Regards
Hartmut Goebel
| Hartmut Goebel | IT-Security -- effizient |
| h.goebel at goebel-consult.de | www.goebel-consult.de |
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)
Comment: Using GnuPG with Mandriva - http://enigmail.mozdev.org
iQEVAwUBQ+XV8MzajR0mSa83AQJ+ggf/cdc2+FaztJ7zfl14RxwffnxJoklRWnvp
592Gz+iLhukZhs7XkZVltunnHuZk2U6sC+UQ9o08QIfQJCpjkPkZQ0ZQr/2NIh92
7A5KXVQRWX505KoO8LYJYd+xzI+J4G5W7+4ujQUrZgZKgQexP13d+9LDcAB9JJl9
c5pjrF56RajrN7UIZa3U+x03YkiuPXLfhmA+uOw3PQXrjm2EIX6KZ2jHr5ZdjuMP
3Z6MyNt2RFZTHNk67pomoIlmqrj7jJccWZwXKd64E31gCRP7zUPr/BweHYiRL5hR
D0hM3uxy8I2hy2Kqf1NiLif7p6yEgSTKZZjeeiqCHTKIz75Mf5SIrQ==
=dZat
-----END PGP SIGNATURE-----