aboutsummaryrefslogtreecommitdiffstats
path: root/testRelax.c
diff options
context:
space:
mode:
authorDaniel Veillard <veillard@src.gnome.org>2004-01-13 20:42:02 +0000
committerDaniel Veillard <veillard@src.gnome.org>2004-01-13 20:42:02 +0000
commit87247e87408561aee625b2e800ea3c13211af897 (patch)
tree70451191c66ceb9e1807fd888a6d901b341d1c1a /testRelax.c
parentc82c57e69cedae457ecbfe8028bd9ed2c65b2f46 (diff)
downloadandroid_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.c2
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]);