tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From r...@apache.org
Subject svn commit: r472057 - /tomcat/tc6.0.x/trunk/java/org/apache/jasper/compiler/Validator.java
Date Tue, 07 Nov 2006 10:45:02 GMT
Author: remm
Date: Tue Nov  7 02:45:01 2006
New Revision: 472057

URL: http://svn.apache.org/viewvc?view=rev&rev=472057
Log:
- 40913: Fix the second test when an expression is used.

Modified:
    tomcat/tc6.0.x/trunk/java/org/apache/jasper/compiler/Validator.java

Modified: tomcat/tc6.0.x/trunk/java/org/apache/jasper/compiler/Validator.java
URL: http://svn.apache.org/viewvc/tomcat/tc6.0.x/trunk/java/org/apache/jasper/compiler/Validator.java?view=diff&rev=472057&r1=472056&r2=472057
==============================================================================
--- tomcat/tc6.0.x/trunk/java/org/apache/jasper/compiler/Validator.java (original)
+++ tomcat/tc6.0.x/trunk/java/org/apache/jasper/compiler/Validator.java Tue Nov  7 02:45:01
2006
@@ -1094,7 +1094,7 @@
                                     err.jspError(n, "jsp.error.attribute.custom.non_rt_with_expr",
                                             tldAttrs[j].getName());
                                 }
-                                if (!deferred && (tldAttrs[j].isDeferredMethod()
|| tldAttrs[j].isDeferredValue())) {
+                                if (!deferred && !tldAttrs[j].canBeRequestTime())
{
                                     // Only deferred expressions are allowed for this attribute
                                     err.jspError(n, "jsp.error.attribute.custom.non_rt_with_expr",
                                             tldAttrs[j].getName());



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Mime
View raw message