From 51c170f0cdba1f2e163fd2fd23daa2c336a63d03 Mon Sep 17 00:00:00 2001 From: "Fred L. Drake, Jr." Date: Sat, 29 Jan 2005 04:48:44 +0000 Subject: [PATCH] Report XML_NS setting via XML_GetFeatureList(). --- expat/Changes | 1 + expat/lib/expat.h | 3 ++- expat/lib/xmlparse.c | 3 +++ 3 files changed, 6 insertions(+), 1 deletion(-) diff --git a/expat/Changes b/expat/Changes index da931fb4..522f1fbb 100644 --- a/expat/Changes +++ b/expat/Changes @@ -1,6 +1,7 @@ Release 1.95.9 TBD - We no longer use the "check" library for C unit testing; we always use the (partial) internal implementation of the API. + - Report XML_NS setting via XML_GetFeatureList(). Release 1.95.8 Fri Jul 23 2004 - Major new feature: suspend/resume. Handlers can now request diff --git a/expat/lib/expat.h b/expat/lib/expat.h index 73566aec..ac1053f6 100644 --- a/expat/lib/expat.h +++ b/expat/lib/expat.h @@ -982,7 +982,8 @@ enum XML_FeatureEnum { XML_FEATURE_CONTEXT_BYTES, XML_FEATURE_MIN_SIZE, XML_FEATURE_SIZEOF_XML_CHAR, - XML_FEATURE_SIZEOF_XML_LCHAR + XML_FEATURE_SIZEOF_XML_LCHAR, + XML_FEATURE_NS /* Additional features must be added to the end of this enum. */ }; diff --git a/expat/lib/xmlparse.c b/expat/lib/xmlparse.c index 6e8803fc..b87acd4d 100644 --- a/expat/lib/xmlparse.c +++ b/expat/lib/xmlparse.c @@ -1942,6 +1942,9 @@ XML_GetFeatureList(void) #endif #ifdef XML_MIN_SIZE {XML_FEATURE_MIN_SIZE, XML_L("XML_MIN_SIZE"), 0}, +#endif +#ifdef XML_NS + {XML_FEATURE_NS, XML_L("XML_NS"), 0}, #endif {XML_FEATURE_END, NULL, 0} }; -- 2.40.0