Let the Cosmos runtime register the JAXP factories (SAX and DOM)

The code uses the XMLParserActivator API to perform the registration in
a standards compliant way.