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 <>
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.
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: <>
2011-11-16 10:50:06ezio.melottilinkissue1486713 messages
2011-11-16 10:50:06ezio.melotticreate