private void invalidRegex(String message) throws XPathException { compileErrorInAttribute(message, "XTDE1140", "regex"); // prevent it being reported more than once pattern = getConfiguration().compileRegularExpression("x", "", "XP20", null); }
private void invalidFlags(String message) throws XPathException { compileErrorInAttribute(message, "XTDE1145", "flags"); // prevent it being reported more than once pattern = getConfiguration().compileRegularExpression("x", "", "XP20", null); }
private void invalidFlags(String message) throws XPathException { compileErrorInAttribute(message, "XTDE1145", "flags"); // prevent it being reported more than once pattern = getConfiguration().compileRegularExpression("x", "", "XP20", null); }
private void invalidRegex(String message) throws XPathException { compileErrorInAttribute(message, "XTDE1140", "regex"); // prevent it being reported more than once pattern = getConfiguration().compileRegularExpression("x", "", "XP20", null); }
pattern = getConfiguration().compileRegularExpression( regex, flagstr, getEffectiveVersion() >= 30 ? "XP30" : "XP20", warnings); for (String w : warnings) {
pattern = getConfiguration().compileRegularExpression( regex, flagstr, getEffectiveVersion() >= 30 ? "XP30" : "XP20", warnings); for (String w : warnings) {
final CharSequence regex = ((StringLiteral)this.regex).getStringValue(); final CharSequence flagstr = ((StringLiteral)flags).getStringValue(); final int xmlVersion = getConfiguration().getXMLVersion(); pattern = platform.compileRegularExpression( regex, xmlVersion, RegularExpression.XPATH_SYNTAX, flagstr);
final CharSequence regex = ((StringLiteral)this.regex).getStringValue(); final CharSequence flagstr = ((StringLiteral)flags).getStringValue(); final int xmlVersion = getConfiguration().getXMLVersion(); pattern = platform.compileRegularExpression( regex, xmlVersion, RegularExpression.XPATH_SYNTAX, flagstr);