From c4ca6cf75e5da72c5bfbc088b470578b443dd27b Mon Sep 17 00:00:00 2001 From: Clark Cooper Date: Tue, 10 Oct 2000 18:48:48 +0000 Subject: [PATCH] Defined XML_SetEndNamespaceDeclHandler to resolve bug # 116381 --- expat/Changes | 4 ++++ expat/lib/xmlparse.c | 6 ++++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/expat/Changes b/expat/Changes index aec6a2bf..e32e2989 100644 --- a/expat/Changes +++ b/expat/Changes @@ -1,4 +1,8 @@ + - Defined XML_SetEndNamespaceDeclHandler. Thanks to Darryl Miles for + finding this oversight. - Changed default patterns in lib/Makefile.in to fit non-GNU makes + Thanks to robin@unrated.net for reporting and providing an + account to test on. - The reference had the wrong label for XML_SetStartNamespaceDecl. Reported by an anonymous user. Release 1.95.0 Fri Sep 29 2000 diff --git a/expat/lib/xmlparse.c b/expat/lib/xmlparse.c index 5395b487..56f5ab72 100644 --- a/expat/lib/xmlparse.c +++ b/expat/lib/xmlparse.c @@ -4,7 +4,7 @@ See the file COPYING for copying permission. */ static char RCSId[] - = "$Header: /cvsroot/expat/expat/lib/xmlparse.c,v 1.6 2000/09/29 14:57:45 coopercc Exp $"; + = "$Header: /cvsroot/expat/expat/lib/xmlparse.c,v 1.7 2000/10/09 06:26:10 jclark Exp $"; #include @@ -999,7 +999,9 @@ void XML_SetStartNamespaceDeclHandler(XML_Parser parser, } void XML_SetEndNamespaceDeclHandler(XML_Parser parser, - XML_EndNamespaceDeclHandler end); + XML_EndNamespaceDeclHandler end) { + endNamespaceDeclHandler = end; +} void XML_SetNotStandaloneHandler(XML_Parser parser,