HTML Parser

HTML Parser

am 18.05.2007 07:55:50 von Vector

I have finish the simple html parser, in this parser, I convert html
document to a Tree. Like Javascript, I design following functions in
my C++ HTML Parser Library:
1.getElementById
i2.innerHTML

I only use C++ STL to realize the parser.

The most difficult problem when write html parser is, the parser must
tolerate mistakes in html.

please visit http://vector-sci.blogspot.com/ to get more.

Re: HTML Parser

am 19.05.2007 08:52:14 von Rob_W

Vector schreef:

>
> The most difficult problem when write html parser is, the parser must
> tolerate mistakes in html.
>

No, it should not!

RW

Re: HTML Parser

am 23.05.2007 12:46:01 von Vector

On May 19, 2:52 pm, Rob wrote:
> Vector schreef:
>
>
>
> > The most difficult problem when write html parser is, the parser must
> > tolerate mistakes in html.
>
> No, it should not!
>
> RW

My task is to understand html write by many different body. I do not
want to write a brower. so my parser should tolerate mistakes