SHRINKRES-212 Fix for SAXParserFactory issues with JBoss AS and EAP

https://issues.jboss.org/browse/SHRINKRES-212