fix a problem in externalSubsetSplit with a patch from Ashwin Daniel

* xmlschemas.c: fix a problem in externalSubsetSplit with a patch
  from Ashwin
Daniel

svn path=/trunk/; revision=3716
diff --git a/ChangeLog b/ChangeLog
index fef0363..654d5e8 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+Wed Mar 26 14:38:31 CET 2008 Daniel Veillard <daniel@veillard.com>
+
+	* xmlschemas.c: fix a problem in externalSubsetSplit with a patch
+	  from Ashwin
+
 Tue Mar 25 17:48:02 CET 2008 Daniel Veillard <daniel@veillard.com>
 
 	* parser.c: fix various attribute normalisation problems reported
diff --git a/xmlschemas.c b/xmlschemas.c
index 01a9c3c..d57ba9f 100644
--- a/xmlschemas.c
+++ b/xmlschemas.c
@@ -28108,8 +28108,8 @@
 {
     xmlSchemaSAXPlugPtr ctxt = (xmlSchemaSAXPlugPtr) ctx;
     if ((ctxt != NULL) && (ctxt->user_sax != NULL) &&
-        (ctxt->user_sax->internalSubset != NULL))
-	ctxt->user_sax->internalSubset(ctxt->user_data, name, ExternalID,
+        (ctxt->user_sax->externalSubset != NULL))
+	ctxt->user_sax->externalSubset(ctxt->user_data, name, ExternalID,
 	                               SystemID);
 }