1
0
mirror of https://gitlab.gnome.org/GNOME/libxml2.git synced 2025-10-26 00:37:43 +03:00

html: Use hash table to check for duplicate attributes

This commit is contained in:
Nick Wellnhofer
2024-09-15 20:28:49 +02:00
parent 24a6149fc4
commit 0bc4608c50
3 changed files with 149 additions and 53 deletions

View File

@@ -46,6 +46,10 @@
(((ctxt)->input->entity != NULL) && \
((ctxt)->input->entity->etype == XML_EXTERNAL_PARAMETER_ENTITY)))
struct _xmlAttrHashBucket {
int index;
};
XML_HIDDEN void
xmlCtxtVErr(xmlParserCtxtPtr ctxt, xmlNodePtr node, xmlErrorDomain domain,
xmlParserErrors code, xmlErrorLevel level,