Branch
Hash :
a2b5c90a
Author :
Date :
2023-11-21T14:35:54
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.
<?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>