1
0
mirror of https://gitlab.gnome.org/GNOME/libxml2.git synced 2024-12-24 21:33:51 +03:00
libxml2/result/issue626.xml.sax
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
715 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.startElement(doc)
SAX.characters(
, 5)
SAX.comment( This tests whether xmlCleanSpecialAttr works. The attribute values
must not be normalized. )
SAX.characters(
, 5)
SAX.startElement(e, a1=' x x ', a2=' x x ', a3=' x x ', a4=' x x ', a5=' x x ', a6=' x x ')
SAX.endElement(e)
SAX.characters(
, 1)
SAX.endElement(doc)
SAX.endDocument()