Update add by xpath.  Fix a potential stackoverflow error.
Merge branch 'develop' of https://github.com/geonetwork/core-geonetwork into develop
Merge pull request #614 from jesseeichar/develop

Update add by xpath. Fix a potential stackoverflow error
Geocat develope now compiles