Author: remy.maucherat(a)jboss.com
Date: 2010-01-07 09:32:03 -0500 (Thu, 07 Jan 2010)
New Revision: 1353
Modified:
trunk/java/org/apache/jasper/compiler/Validator.java
Log:
- Port patch.
Modified: trunk/java/org/apache/jasper/compiler/Validator.java
===================================================================
--- trunk/java/org/apache/jasper/compiler/Validator.java 2010-01-06 16:10:05 UTC (rev
1352)
+++ trunk/java/org/apache/jasper/compiler/Validator.java 2010-01-07 14:32:03 UTC (rev
1353)
@@ -511,7 +511,7 @@
public void visit(Node.JspRoot n) throws JasperException {
JspUtil.checkAttributes("Jsp:root", n, jspRootAttrs, err);
String version = n.getTextAttribute("version");
- if (!version.equals("1.2") &&
!version.equals("2.0") && !version.equals("2.1")) {
+ if (!version.equals("1.2") &&
!version.equals("2.0") && !version.equals("2.1") &&
!version.equals("2.2")) {
err.jspError(n, "jsp.error.jsproot.version.invalid", version);
}
visitBody(n);
Show replies by date