summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorNick Wellnhofer <wellnhofer@aevum.de>2023-05-09 03:25:24 +0200
committerNick Wellnhofer <wellnhofer@aevum.de>2023-05-09 03:25:24 +0200
commitb8961df65d077457863780892f2d39ac4c04c0af (patch)
treec93913ab319744ece3832bb0a35bb1267bb23c1a /include
parentf24ffddbb915121d70d9cb77761339148fce1eec (diff)
downloadlibxml2-b8961df65d077457863780892f2d39ac4c04c0af.tar.gz
SAX: Always validate xml:ids
The behavior shouldn't depend on mostly random configuration options.
Diffstat (limited to 'include')
-rw-r--r--include/libxml/tree.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/include/libxml/tree.h b/include/libxml/tree.h
index b4989667..a1cabf69 100644
--- a/include/libxml/tree.h
+++ b/include/libxml/tree.h
@@ -657,15 +657,9 @@ struct _xmlDOMWrapCtxt {
/*
* Some helper functions
*/
-#if defined(LIBXML_TREE_ENABLED) || defined(LIBXML_XPATH_ENABLED) || \
- defined(LIBXML_SCHEMAS_ENABLED) || defined(LIBXML_DEBUG_ENABLED) || \
- defined (LIBXML_HTML_ENABLED) || defined(LIBXML_SAX1_ENABLED) || \
- defined(LIBXML_HTML_ENABLED) || defined(LIBXML_WRITER_ENABLED) || \
- defined(LIBXML_LEGACY_ENABLED)
XMLPUBFUN int
xmlValidateNCName (const xmlChar *value,
int space);
-#endif
#if defined(LIBXML_TREE_ENABLED) || defined(LIBXML_SCHEMAS_ENABLED)
XMLPUBFUN int