tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Remy Maucherat <r...@apache.org>
Subject Re: svn commit: r529818 - in /tomcat/tc6.0.x/trunk: java/org/apache/jasper/compiler/Validator.java webapps/docs/changelog.xml
Date Wed, 18 Apr 2007 00:58:18 GMT
Remy Maucherat wrote:
> If REQUEST_TIME_VALUE should be set for EL too

The javadoc for getAttribute in TagData indicates it should be set for 
EL too.

I recommend this patch instead for TC 6.0:

Index: Validator.java
===================================================================
--- Validator.java	(revision 528865)
+++ Validator.java	(working copy)
@@ -1177,7 +1177,7 @@
                                              .getLocalName(i),
                                      attrs.getValue(i), false, null, 
false);
                          }
-                        if (jspAttrs[i].isExpression()) {
+                        if (expression) {
                              tagDataAttrs.put(attrs.getQName(i),
                                      TagData.REQUEST_TIME_VALUE);
                          } else {

(another one line patch which may break everything, cool)

Rémy

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


Mime
View raw message