IACCPP-60 - remove the need for libxml
Improved javadoc comments and error handling