1
0
mirror of https://gitlab.gnome.org/GNOME/libxml2.git synced 2024-12-25 23:21:26 +03:00
libxml2/result/issue626.xml
Nick Wellnhofer a2b5c90a44 hash: Fix deletion of entries during scan
Functions like xmlCleanSpecialAttr scan a hash table and possibly delete
entries in the callback. xmlHashScanFull must detect such deletions and
rescan the entry.

This regressed when rewriting the hash table code in 4a513d56.

Fixes #626.
2023-11-21 15:28:59 +01:00

15 lines
434 B
XML

<?xml version="1.0"?>
<!DOCTYPE doc [
<!ATTLIST e a1 CDATA #IMPLIED>
<!ATTLIST e a2 CDATA #IMPLIED>
<!ATTLIST e a3 CDATA #IMPLIED>
<!ATTLIST e a4 CDATA #IMPLIED>
<!ATTLIST e a5 CDATA #IMPLIED>
<!ATTLIST e a6 CDATA #IMPLIED>
]>
<doc>
<!-- This tests whether xmlCleanSpecialAttr works. The attribute values
must not be normalized. -->
<e a1=" x x " a2=" x x " a3=" x x " a4=" x x " a5=" x x " a6=" x x "/>
</doc>