Fixed ERRAI-578: Xerces 2.4.0 dependency causes problems in JBoss/EAP and Jetty+Weld