Oh, of course, no need to switch on (isFrameset) or anything. Thanks! On Mon, 7 Sep 2015, Karl Dahlke wrote:
Yeah the problem here is there's no <body> and I was traversing the body. Kevin showed me a way around it, if body is null then traverse the root, which contains the frameset, and that fixed the seg fault, but the head was scanned twice, as it is under the root, which leads to the slap-your-forehead moment of saying, "Gee, let's start at the root." Then everything works fine, all the time. I have made this push. By the way, with js turned off, and other variables out of the way, the tidy5 parser is ten times as fast as mine. It probably uses lex and yacc, or techniques therefrom, which are honed for efficiency. Karl Dahlke _______________________________________________ Edbrowse-dev mailing list [email protected] http://lists.the-brannons.com/mailman/listinfo/edbrowse-dev
-------- Kevin Carhart * 415 225 5306 * The Ten Ninety Nihilists _______________________________________________ Edbrowse-dev mailing list [email protected] http://lists.the-brannons.com/mailman/listinfo/edbrowse-dev
