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


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 Veillard      | Red Hat Network
veillard redhat com  | libxml GNOME XML XSLT toolkit | Rpmfind RPM search engine

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