Allow using XML parsers other than Xerces #1239