1
0
mirror of https://gitlab.gnome.org/GNOME/libxml2.git synced 2024-12-25 23:21:26 +03:00
libxml2/result/issue626.xml.sax2
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

24 lines
813 B
Plaintext

SAX.setDocumentLocator()
SAX.startDocument()
SAX.internalSubset(doc, , )
SAX.attributeDecl(e, a1, 1, 3, NULL, ...)
SAX.attributeDecl(e, a2, 1, 3, NULL, ...)
SAX.attributeDecl(e, a3, 1, 3, NULL, ...)
SAX.attributeDecl(e, a4, 1, 3, NULL, ...)
SAX.attributeDecl(e, a5, 1, 3, NULL, ...)
SAX.attributeDecl(e, a6, 1, 3, NULL, ...)
SAX.externalSubset(doc, , )
SAX.startElementNs(doc, NULL, NULL, 0, 0, 0)
SAX.characters(
, 5)
SAX.comment( This tests whether xmlCleanSpecialAttr works. The attribute values
must not be normalized. )
SAX.characters(
, 5)
SAX.startElementNs(e, NULL, NULL, 0, 6, 0, a1=' x ...', 6, a2=' x ...', 6, a3=' x ...', 6, a4=' x ...', 6, a5=' x ...', 6, a6=' x ...', 6)
SAX.endElementNs(e, NULL, NULL)
SAX.characters(
, 1)
SAX.endElementNs(doc, NULL, NULL)
SAX.endDocument()