Re: [xml] bug in HTML parser and request...

Date view Thread view Subject view Author view

From: Daniel Veillard (Daniel.Veillard@w3.org)
Date: Fri Oct 20 2000 - 12:03:54 EDT


On Fri, Oct 20, 2000 at 08:45:30AM -0400, Marc Sanfacon wrote:
> Hi there,
> one of the part we are using from libxml is the HTML parser. We
> just found a problem with the following document:
[...]
> Output from libxml:
>
> <!DOCTYPE html PUBLIC "-//IETF//DTD HTML 2.0//EN">
> <html>
> <head>
> <meta http-equiv="Pragma" content="no-cache">
> <title>
> This is a title
> </title>
> </head>
> <body>
> </html>

  Not strictly an error (but I didn't double-checked) because body
can be autoclosed, but I agree it makes sense to close it. Fixed
by the enclosed patch,

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 : Fri Oct 20 2000 - 12:43:38 EDT