Re: [xml] Auto-close in HTML parser.

Date view Thread view Subject view Author view

From: Daniel Veillard (Daniel.Veillard@w3.org)
Date: Mon Oct 23 2000 - 12:01:51 EDT


On Mon, Oct 23, 2000 at 10:59:36AM -0400, Marc Sanfacon wrote:
[...]
> As you can see, the /option is given only when the /select is found. I
> would have like to get the /option when the other <option> was found. The
> problem is when I parse files that has a lot of <option> without the closing
> </option>....
>
> I fixed the problem by adding:
>
> "option", "option", NULL,
>
> in htmlStartClose table. I don't know if it is OK.

  Sounds sensible to close the previous option when opening a new one.

  added,

Daniel

-- 
Daniel.Veillard@w3.org | W3C, INRIA Rhone-Alpes  | libxml Gnome XML toolkit
Tel : +33 476 615 257  | 655, avenue de l'Europe | http://xmlsoft.org/
Fax : +33 476 615 207  | 38330 Montbonnot FRANCE | Rpmfind search site
 http://www.w3.org/People/all#veillard%40w3.org  | http://rpmfind.net/
----
Message from the list xml@rpmfind.net
Archived at : http://xmlsoft.org/messages/
to unsubscribe: echo "unsubscribe xml" | mail  majordomo@rpmfind.net


Date view Thread view Subject view Author view

This archive was generated by hypermail 2b29 : Mon Oct 23 2000 - 12:44:00 EDT