org.xml.sax.SAX ParseException: InvalidRegex: Pattern value '[-+]?(\d+|\d+(\.\d+ )?%)(,\s*[-+]?(\d+|\d+(\.\d+ )?%))*' is not a valid regular expression. The reported error was: ''-' is an invalid character range. Write '\-'.'
When i call this methd
Code:
public void validateWithCache(String xml, EntityResolver resolver) {
// create the sax builder with the correct cache.
Leave a comment: