Report XML_NS setting via XML_GetFeatureList().

This commit is contained in:
Fred L. Drake, Jr. 2005-01-29 04:48:44 +00:00
parent 5270eeba30
commit 51c170f0cd
3 changed files with 6 additions and 1 deletions

View file

@ -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

View file

@ -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. */
};

View file

@ -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}
};