aboutsummaryrefslogtreecommitdiffstats
path: root/SAX.c
diff options
context:
space:
mode:
authorDaniel Veillard <veillard@src.gnome.org>2001-05-28 11:00:53 +0000
committerDaniel Veillard <veillard@src.gnome.org>2001-05-28 11:00:53 +0000
commit9403a0495dcbdfa430b669b4e3d689d8e208c687 (patch)
treecd11faf87ae611b32653dbda99e8068e5005fcb8 /SAX.c
parent6278fb5b30821c9edc7b4304619944d2f50a932b (diff)
downloadandroid_external_libxml2-9403a0495dcbdfa430b669b4e3d689d8e208c687.tar.gz
android_external_libxml2-9403a0495dcbdfa430b669b4e3d689d8e208c687.tar.bz2
android_external_libxml2-9403a0495dcbdfa430b669b4e3d689d8e208c687.zip
- TODO: updated - nanohttp.[ch] : started adding APIs to get the
- TODO: updated - nanohttp.[ch] : started adding APIs to get the redirected URL when this occurs (needed for further base computation - tree.h: cleanup - encoding.c: cleanup - SAX.c: minor change around ctxt->loadsubset Daniel
Diffstat (limited to 'SAX.c')
-rw-r--r--SAX.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/SAX.c b/SAX.c
index ca5ae0f0..03f3988a 100644
--- a/SAX.c
+++ b/SAX.c
@@ -201,7 +201,7 @@ externalSubset(void *ctx, const xmlChar *name,
name, ExternalID, SystemID);
#endif
if (((ExternalID != NULL) || (SystemID != NULL)) &&
- (((ctxt->validate) || (ctxt->loadsubset)) &&
+ (((ctxt->validate) || (ctxt->loadsubset != 0)) &&
(ctxt->wellFormed && ctxt->myDoc))) {
/*
* Try to fetch and parse the external subset.