BeautifulSoup vs. Microsoft

Justin Ezequiel justin.mailinglists at gmail.com
Thu Mar 29 06:11:44 EDT 2007


On Mar 29, 4:08 pm, Duncan Booth <duncan.bo... at invalid.invalid> wrote:
> John Nagle <n... at animats.com> wrote:
> >      title="<!--http://www.microsoft.com/usability/information.mspx->"
>
> > is supposed to be an HTML comment.  But it's improperly terminated.
>
> It is an attribute value, and unescaped angle brackets are valid in
> attributes. It looks to me like a bug in BeautifulSoup.

FWIW, see http://tinyurl.com/yjtzjz

new fan of BeautifulSoup here as it helped me parse "BAD" XML
(although my client would disagree with that description)




More information about the Python-list mailing list