[issue15423] Minidom tries to parse tags inside of <script> tag

Martin v. Löwis report at bugs.python.org
Sun Jul 22 19:07:38 CEST 2012


Martin v. Löwis <martin at v.loewis.de> added the comment:

R. David is correct. The XML specification *clearly* defines that your XML document is ill-formed, since the closing tag for '<bb>' is '</b>', which doesn't match.

XML is not HTML: the XML parser must not treat the script element specially.

----------
nosy: +loewis
status: pending -> closed

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue15423>
_______________________________________


More information about the Python-bugs-list mailing list