Tuesday, 26 February 2013

Re: Parser breaking with ";" in the text field.

On Tue, 2013-02-26 at 07:09 +0000, John-Mark Bell wrote:
> On Mon, 2013-02-25 at 23:37 -0500, Anil Jangam wrote:
> > Team,
> >
> >
> > I observed that HTML parser (hubbub-0.1.2) is breaking when it finds a
> > SEMICOLON in the text field. I am giving below an example of the text
> > string.
>
> [...]
>
> > <meta http-equiv="content-type" content="text/html; charset=UTF-8" />
>
> > When it finds the ';', it stops working. When I remove this ';' from
> > the string, it works fine. Can you please check, if this is an issue
> > with the parser or if I am missing anything?
>
> Can you explain what you mean by "stops working"?

It turns out, this was the result of a bug in the example code: it
completely failed to correctly reset the world when the encoding
changed.

Fixed in git:
http://git.netsurf-browser.org/libhubbub.git/commit/?id=4e091eb81e7a5ada5d8aafa7990d094f276f2099

Thanks,


J.

No comments:

Post a Comment