[Python-bugs-list] [ python-Bugs-453706 ] sgmllib exception behaviour: policy?

noreply@sourceforge.net noreply@sourceforge.net
Tue, 28 Aug 2001 08:33:59 -0700


Bugs item #453706, was opened at 2001-08-21 05:49
You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=453706&group_id=5470

Category: Python Library
>Group: None
Status: Open
Resolution: None
>Priority: 6
Submitted By: Nobody/Anonymous (nobody)
>Assigned to: Fred L. Drake, Jr. (fdrake)
Summary: sgmllib exception behaviour: policy?

Initial Comment:
the standard python htmlparser produces an exception
from sgmllib while parsing this contruction:

<!spacer type="block" height="25">

in the body of an html file. Iīm not sure if this is a
regular HTML Tag, but when netscape renders the page,
it seems to ignore it.

The problem is now, that sgmllib produces an uncaught
exception, and i donīt know how to handle this
exception really intelligent by my program. I like to
have a HTLMParser that never crashes, even if he
sometimes produces not exactly output.

What does the developer team think for that? is this
unimportant for the rest of the world or have i found a
bug that should be fixed? if not, can you give me some
suggestions how to work around this bug in my special
case. 

thanks

Michael

----------------------------------------------------------------------

You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=453706&group_id=5470