]> granicus.if.org Git - python/commit
Moved clearing of "literal" flag. The flag is set in setliteral which
authorSjoerd Mullender <sjoerd@acm.org>
Wed, 14 Mar 2001 17:03:30 +0000 (17:03 +0000)
committerSjoerd Mullender <sjoerd@acm.org>
Wed, 14 Mar 2001 17:03:30 +0000 (17:03 +0000)
commit538453e1554166053786d35329edd0000d24f10d
treed9f864d67dc200a1067f097f0684a6a73baeacb8
parent62dfed96beb1572134b6165a032cfbaa3882f2f3
Moved clearing of "literal" flag.  The flag is set in setliteral which
can be called from a start tag handler.  When the corresponding end
tag is read the flag is cleared.  However, it didn't get cleared when
the start tag was for an empty element of the type <tag .../>.  This
modification fixes the problem.
Lib/xmllib.py