From b8961df65d077457863780892f2d39ac4c04c0af Mon Sep 17 00:00:00 2001 From: Nick Wellnhofer Date: Tue, 9 May 2023 03:25:24 +0200 Subject: SAX: Always validate xml:ids The behavior shouldn't depend on mostly random configuration options. --- include/libxml/tree.h | 6 ------ 1 file changed, 6 deletions(-) (limited to 'include') 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 -- cgit v1.2.1