This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author ezio.melotti
Recipients Neil Muller, eric.araujo, ezio.melotti, fdrake, jjlee, kxroberto, orsenthil, r.david.murray, terry.reedy
Date 2011-11-16.10:50:06
SpamBayes Score 3.524019e-09
Marked as misclassified No
Message-id <1321440606.95.0.494074313189.issue1486713@psf.upfronthosting.co.za>
In-reply-to
Content
Note that the regex and the way the parser considers the commas changed in 16ed15ff0d7c (it now considers them as the name of a value-less attribute), so adding a group for the comma is no longer doable.

In theory, the approach you suggest might work, but if we want some warning mechanism it should be generic enough to work with all kind of invalid markup.  In addition this adds complexity to already complex regular expressions, so there should be a valid use case for this.
Also keep in mind that HTMLParser won't do any check about the validity of the elements' names or attributes' names/values, or even if they are nested/closed correctly, so even with a comprehensive set of warnings, you won't still be able to use HTMLParser to validate your pages.
History
Date User Action Args
2011-11-16 10:50:07ezio.melottisetrecipients: + ezio.melotti, fdrake, terry.reedy, jjlee, orsenthil, kxroberto, Neil Muller, eric.araujo, r.david.murray
2011-11-16 10:50:06ezio.melottisetmessageid: <1321440606.95.0.494074313189.issue1486713@psf.upfronthosting.co.za>
2011-11-16 10:50:06ezio.melottilinkissue1486713 messages
2011-11-16 10:50:06ezio.melotticreate