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:
parent
1b4bf22c14
commit
869f72442a
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user