]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
Better error handling of bad entity references. Before when an & in
authorSjoerd Mullender <sjoerd@acm.org>
Mon, 10 Jul 2000 08:09:48 +0000 (08:09 +0000)
committerSjoerd Mullender <sjoerd@acm.org>
Mon, 10 Jul 2000 08:09:48 +0000 (08:09 +0000)
commitf98506478122c3c3002e91e5562520b02d7bd132
tree941ad31eb57dd429a6a38b45ea2089da516667c4
parentb16714b4d0657829d4050058b240f0390c61018f
Better error handling of bad entity references.  Before when an & in
an attribute value was not escaped, you could get two syntax errors:
one about a missing semicolon and one about an unknown entity.  Now
you get only one about a bogus ampersand.
Lib/xmllib.py