diff options
author | Daniel Veillard <veillard@src.gnome.org> | 2004-01-13 20:42:02 +0000 |
---|---|---|
committer | Daniel Veillard <veillard@src.gnome.org> | 2004-01-13 20:42:02 +0000 |
commit | 87247e87408561aee625b2e800ea3c13211af897 (patch) | |
tree | 70451191c66ceb9e1807fd888a6d901b341d1c1a /testSchemas.c | |
parent | c82c57e69cedae457ecbfe8028bd9ed2c65b2f46 (diff) | |
download | libxml2-87247e87408561aee625b2e800ea3c13211af897.tar.gz |
applied patch from Mark Vadoc to not use SAX1 unless necessary. Daniel
* HTMLparser.c relaxng.c testRelax.c testSchemas.c: applied
patch from Mark Vadoc to not use SAX1 unless necessary.
Daniel
Diffstat (limited to 'testSchemas.c')
-rw-r--r-- | testSchemas.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/testSchemas.c b/testSchemas.c index de12e259..47f8b39a 100644 --- a/testSchemas.c +++ b/testSchemas.c @@ -125,7 +125,7 @@ int main(int argc, char **argv) { } else { xmlDocPtr doc; - doc = xmlParseFile(argv[i]); + doc = xmlReadFile(argv[i],NULL,0); if (doc == NULL) { fprintf(stderr, "Could not parse %s\n", argv[i]); |