Re: [xml] Patch for frameset parsing in HTMLparser.c



On Sun, Apr 04, 2004 at 04:29:22PM +0100, James Bursa wrote:
Using HTMLparser to parse a file like

  <head>
  <frameset>

currently results in a tree like

  ELEMENT html
    ELEMENT head
      ELEMENT frameset

This patch produces the more useful tree

  ELEMENT html
    ELEMENT head
    ELEMENT frameset

instead. Please consider applying this if it looks correct.

  Okay, this makes some sense, frameset should close head
But the second part of the patch changed the output of the regression test
on test/HTML/doc2.htm, so I removed that one.

Daniel

-- 
Daniel Veillard      | Red Hat Network https://rhn.redhat.com/
veillard redhat com  | libxml GNOME XML XSLT toolkit  http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]