ClusterLabs/pacemaker — pull request #114 by mkubecek (2012-07-12 09:56:31+00:00)
Title: Low: avoid list traverse restarts when stripping text nodes

Restarting from the beginning of children list can lead to some
subtrees being unnecessarily traversed several times (once for
every text node following it). To handle node deletion, it is
sufficient to simply copy the pointer to next item before we
delete current one.