DOM in c

From: "Michael B. Allen" <mballen@erols.com>

To: xml-dev@lists.xml.org

Date: Sat, 07 Jul 2001 22:37:18 -0400

Hi,
I'm writing a dom implementation in c (no C++) to be released under an
open license. I'm looking for a forum in which to ask about implementation
details; mainly pertaining to memory management at the moment.
My question is -- if freeing a node entails recursively freeing all it's
children, when inserting a DocumentFragment must I clone all children
first? If I do not, freeing the DocumentFragment would then recursively
delete the node just inserted into the tree.
Thanks,
Mike