[New-bugs-announce] [issue15423] Minidom tries to parse tags inside of <script> tag

AliDD report at bugs.python.org
Sun Jul 22 17:01:19 CEST 2012


New submission from AliDD <registration000 at web.de>:

Attempt to parse the string
<script type="text/javascript">document.write('<bb></b>');</script>
by calling minidom.parseString()
causes ExpatError: mismatched tag: line 1, column 53
in lib\xml\dom\expatbuilder.py at line 223.

It looks like the parser detects open / closing tag mismatch, trying to parse <bb></b>.

----------
components: Library (Lib)
messages: 166139
nosy: AliDD
priority: normal
severity: normal
status: open
title: Minidom tries to parse tags inside of <script> tag
type: behavior
versions: Python 2.7

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


More information about the New-bugs-announce mailing list