1
0
mirror of https://gitlab.gnome.org/GNOME/libxml2.git synced 2025-07-29 11:41:22 +03:00

HTML parsing, output is now correct, added HTMLtests target and testcases, Daniel

This commit is contained in:
Daniel Veillard
1999-07-07 07:32:15 +00:00
parent 167b5092b8
commit 82150d8a99
15 changed files with 380 additions and 81 deletions

View File

@ -27,7 +27,7 @@
#include <stdlib.h>
#include "HTMLparser.h"
#include "tree.h"
#include "HTMLtree.h"
#include "debugXML.h"
static int debug = 0;
@ -80,7 +80,7 @@ void parseAndPrintFile(char *filename) {
* print it.
*/
if (!debug)
xmlDocDump(stdout, doc);
htmlDocDump(stdout, doc);
else
xmlDebugDumpDocument(stdout, doc);
@ -111,7 +111,7 @@ void parseAndPrintBuffer(CHAR *buf) {
* print it.
*/
if (!debug)
xmlDocDump(stdout, doc);
htmlDocDump(stdout, doc);
else
xmlDebugDumpDocument(stdout, doc);