Commit 7e46242568bc6ee33e7e63cbfe51b75644ce1085

Nick Wellnhofer 2024-02-27T20:18:42

tree: Don't allow misuse of xmlAddChild xmlAddChild assumes that the child is unlinked. If the child is already linked, return an error instead of corrupting the tree.