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 /testRelax.c | |
parent | c82c57e69cedae457ecbfe8028bd9ed2c65b2f46 (diff) | |
download | android_external_libxml2-87247e87408561aee625b2e800ea3c13211af897.tar.gz android_external_libxml2-87247e87408561aee625b2e800ea3c13211af897.tar.bz2 android_external_libxml2-87247e87408561aee625b2e800ea3c13211af897.zip |
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 'testRelax.c')
-rw-r--r-- | testRelax.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/testRelax.c b/testRelax.c index dee47156..e18b3c2f 100644 --- a/testRelax.c +++ b/testRelax.c @@ -134,7 +134,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]); |