[Htmlparser-user] Lexer differences between 1.4 and 1.6
Brought to you by:
derrickoswald
From: Vincent M. <vm...@gm...> - 2006-03-01 00:47:06
|
Hello, I have some code that uses htmlparser 1.4 and I am looking at upgrading it to the latest 1.6 integration build. However, I am seeing differences in the way the input is processed that make the work more difficult. Given the input (note it's missing a quote): Hello <a href=3D"http://www.foo.com>World</a> With htmlparser 1.4, I get the following nodes: Text: Hello Begin tag: a href=3D"http://www.foo.com" Text: World End tag: a With htmlparser 1.6, I get these: Text: Hello LinkTag: link to http://www.foo.com>link</a> The 1.6 behavior makes error recovery a lot more difficult. Is there a way to have 1.6 behave like 1.4 in this case? Thanks for your help, Vince. |