- SAX.c: external subset notations were improperly registered
  in the internal subset.
Daniel
diff --git a/SAX.c b/SAX.c
index 5882d41..069fd56 100644
--- a/SAX.c
+++ b/SAX.c
@@ -584,7 +584,7 @@
 	nota = xmlAddNotationDecl(&ctxt->vctxt, ctxt->myDoc->intSubset, name,
                               publicId, systemId);
     else if (ctxt->inSubset == 2)
-	nota = xmlAddNotationDecl(&ctxt->vctxt, ctxt->myDoc->intSubset, name,
+	nota = xmlAddNotationDecl(&ctxt->vctxt, ctxt->myDoc->extSubset, name,
                               publicId, systemId);
     else {
 	if ((ctxt->sax != NULL) && (ctxt->sax->error != NULL))