SuccessChanges

Summary

  1. node: Fix dom_node_normalize (via _dom_merge_adjacent_text) (details)
  2. test: Add a normalize test alongside the XML tests (details)
Commit ce111182bd2b3b40bd2bfd230db623dd490db7c6 by dsilvers
node: Fix dom_node_normalize (via _dom_merge_adjacent_text)
Normalizing is meant to turn a sequence of text nodes into one text node
representing the sequence; unfortunately due to the way that
_dom_merge_adjacent_text had been written this actually resulted in an
exponential repetition of the text content.
This is fixed by using the underlying characterdata objects instead.
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
The file was modifiedsrc/core/node.c
Commit 9eb7839be95ebaf2b9b68014b9695ff274bb4fe9 by dsilvers
test: Add a normalize test alongside the XML tests
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
The file was addedtest/normalize.c
The file was addedtest/data/normalize/regression.html
The file was modifiedtest/Makefile
The file was addedtest/data/normalize/INDEX