[[ Bug 11903 ]] Use WithOptions variants of libxml SAX functions so that...

This pull request also requires merging of thirdpary/bugfix-11903 as it requires (minor) modifications to libxml.