fixes dotCMS/dotCMS#5417
Merge pull request #6 from dotCMS/issue-5417-redo-repackaging-for-xpath-and-w3c-dom

fixes dotCMS/dotCMS#5417