Xerces: We had to patch the xsd parser implementation from apache xerces.
This is a patch for xerces <= 2.9.1 regarding stack overflow in matchString method.
See: XERCESJ-589
https://issues.apache.org/jira/browse/XERCESJ-589?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12569187#action_12569187
Patched Class:
org.apache.xerces.impl.xpath.regex. RegularExpression