return namespaceDefinitions;
}
private static boolean isSpring31(String locationUri) {
Version minimum = new Version("3.1");
Version temp = Version.MINIMUM_VERSION;
Matcher matcher = DefaultNamespaceDefinition.VERSION_PATTERN.matcher(locationUri);
if (matcher.matches()) {
temp = new Version(matcher.group(1));
}
if (temp.compareTo(minimum) >= 0) {
return true;
}
return false;
}