Re: [xml] <li> closing <li> in HTTPparser.c

Date view Thread view Subject view Author view

From: Kristian Hogsberg Kristensen (hogsberg@daimi.au.dk)
Date: Sat Oct 09 1999 - 13:13:22 EDT


Daniel Veillard <Daniel.Veillard@w3.org> writes:

> Hi Kristian,
>
> > I've been working with the HTML parser that comes with gnome-xml, and
> > after debugging my own code for a while because of some weird nesting
> > of lists, I realized that the HTML parser doesn't infer </li> when
> > current element is <li> and a new <li> is seen. Shouldn't it do so?
> > I added "LI" to the "LI" entry in the htmlStartClose array in
> > HTMLParser.c, line 302, and it all worked allright.
>
> Fixed, you were right.

I the meantime, I've been playing around with HTML tables, and I found
that opening tags for TFOOT, TBODY, TR, and TD doesn't close an open P
element as they should.

[...]

> Fixed too, the parser don't uses the DOM produced tree for pure
> parsing anymore,

Excellent, thanks.

> I have commited the fixes both on Gnome and W3C CVs bases, you can grab
> a snapshot with the fixes at
> ftp://rpmfind.net/pub/XML/cvs-snapshot.tar.gz

I got an `unexpected eof' when unpacking this one, by the way, so I
took it from cvs.

Kristian

----
Message from the list xml@rufus.w3.org
Archived at : http://rufus.w3.org/veillard/XML/messages
to unsubscribe: echo "unsubscribe xml" | mail  majordomo@rufus.w3.org


Date view Thread view Subject view Author view

This archive was generated by hypermail 2b29 : Wed Aug 02 2000 - 12:29:48 EDT