New submission from Paweł Widera <mo...@man.poznan.pl>:

Of course both are not correct HTML but are easy to guess, so I believe
the parser should not give up too quick here.

1) extra comma between attributes
<form action="/xxx.php?a=1&amp;b=2&amp", method="post">

2) missing closing quotation mark for the first attribute
<a href="http://xxx.org/xxx.php?a=1 target="_blank">click me</a>

----------
components: Library (Lib)
messages: 88867
nosy: momat
severity: normal
status: open
title: HTMLParser attribute parsing - 2 test cases when it fails
type: behavior
versions: Python 2.6

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue6191>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to