1
0
mirror of https://gitlab.gnome.org/GNOME/libxml2.git synced 2025-10-21 14:53:44 +03:00

Add XML_PARSE_SKIP_IDS to replace XML_SKIP_IDS

Mark loadset member as deprecated

Fixes #873
This commit is contained in:
Michael Mann
2025-06-21 11:16:39 -04:00
parent 1dcd3df20b
commit cf4f967266
2 changed files with 10 additions and 3 deletions

View File

@@ -489,8 +489,7 @@ struct _xmlParserCtxt {
* process default attributes.
* - XML_SKIP_IDS: Load external subset and ignore IDs.
*/
/* TODO: See issue #873 */
int loadsubset;
int loadsubset XML_DEPRECATED_MEMBER;
/* unused */
int linenumbers XML_DEPRECATED_MEMBER;
/**
@@ -1861,7 +1860,13 @@ typedef enum {
*
* @since 2.14.0
*/
XML_PARSE_CATALOG_PI = 1<<26
XML_PARSE_CATALOG_PI = 1<<26,
/**
* Force the parser to ignore IDs.
*
* @since 2.15.0
*/
XML_PARSE_SKIP_IDS = 1<<27
} xmlParserOption;
XMLPUBFUN void