Devel

Avoid duplication of the input root node in the signUp handler.

Previously the invalid free issue of strings in the xml parser dictionary is worked around by duplicating it, which will duplicate all dictionary strings since the newly created document has no dictionary at all. 

However, this issue should be fixed in a correct way, that is, to have the newly created temp document also reference the dictionary used by the parsed document now that it will adopt its root subtree.

This way, the release of the temp document won't interfere the parser dictionary at all.

Valgrind reports green.