1
0
mirror of https://gitlab.gnome.org/GNOME/libxml2.git synced 2025-01-12 09:17:37 +03:00

schemas: Fix ADD_ANNOTATION

Fix adding multiple annotations.
This commit is contained in:
Nick Wellnhofer 2024-03-17 16:11:15 +01:00
parent 1b4bf22c14
commit 869f72442a

View File

@ -8063,7 +8063,7 @@ xmlSchemaCheckCSelectorXPath(xmlSchemaParserCtxtPtr ctxt,
return (annot); \
} \
cur = item->annot; \
if (cur->next != NULL) { \
while (cur->next != NULL) { \
cur = cur->next; \
} \
cur->next = annot;