geonetwork/core-geonetwork — pull request #614 by jesseeichar (2014-08-20 10:18:41+00:00)
Title: Update add by xpath. Fix a potential stackoverflow error

Update add by xpath. Fix a potential stackoverflow error
Also fixed an error when adding elements. It used to add to end of element even if that was the wrong place to add the elements.