mirror of
https://gitlab.gnome.org/GNOME/libxml2.git
synced 2025-10-24 13:33:01 +03:00
Disable legacy support by default
If you need support for legacy APIs, you have to enable it explicitly:
./configure --with-legacy
This commit is contained in:
@@ -58,11 +58,6 @@ function_defines = {
|
||||
"xmlSAX2StartElement" : "LIBXML_SAX1_ENABLED",
|
||||
"xmlSAXDefaultVersion" : "LIBXML_SAX1_ENABLED",
|
||||
"UTF8Toisolat1" : "LIBXML_OUTPUT_ENABLED",
|
||||
"xmlCleanupPredefinedEntities": "LIBXML_LEGACY_ENABLED",
|
||||
"xmlInitializePredefinedEntities": "LIBXML_LEGACY_ENABLED",
|
||||
"xmlSetFeature": "LIBXML_LEGACY_ENABLED",
|
||||
"xmlGetFeature": "LIBXML_LEGACY_ENABLED",
|
||||
"xmlGetFeaturesList": "LIBXML_LEGACY_ENABLED",
|
||||
"xmlIOParseDTD": "LIBXML_VALID_ENABLED",
|
||||
"xmlParseDTD": "LIBXML_VALID_ENABLED",
|
||||
"xmlParseDoc": "LIBXML_SAX1_ENABLED",
|
||||
@@ -161,6 +156,9 @@ skipped_functions = [
|
||||
"xmlParseXMLDecl", "xmlParseTextDecl", "xmlParseMisc",
|
||||
"xmlParseExternalSubset", "xmlParserHandlePEReference",
|
||||
"xmlSkipBlankChars",
|
||||
# Legacy
|
||||
"xmlCleanupPredefinedEntities", "xmlInitializePredefinedEntities",
|
||||
"xmlSetFeature", "xmlGetFeature", "xmlGetFeaturesList",
|
||||
]
|
||||
|
||||
#
|
||||
|
||||
Reference in New Issue
Block a user