[Patches] [ python-Patches-429171 ] sgmllib - leading spaces in declaration
noreply@sourceforge.net
noreply@sourceforge.net
Thu, 31 May 2001 15:26:33 -0700
Patches item #429171, was updated on 2001-05-31 15:26
You can respond by visiting:
http://sourceforge.net/tracker/?func=detail&atid=305470&aid=429171&group_id=5470
Category: library
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Doug Fort (dougfort)
Assigned to: Nobody/Anonymous (nobody)
Summary: sgmllib - leading spaces in declaration
Initial Comment:
Some sites sloppily leave a space in their doctype
declaration: i.e. <! doctype...>. The Python 2.1 sgml
parser raises an exception for this. This patch
modifies sgmllib.py to allow leading whitespace in the
declaration. It also adds a little information to the
exception message.
----------------------------------------------------------------------
You can respond by visiting:
http://sourceforge.net/tracker/?func=detail&atid=305470&aid=429171&group_id=5470