Author: markt Date: Tue Apr 17 17:32:11 2007 New Revision: 529817 URL: http://svn.apache.org/viewvc?view=rev&rev=529817 Log: Fix bug 41869. TagData.getAttribute() should return TagData.REQUEST_TIME_VALUE when the attribute value is an EL expression.
Modified: tomcat/container/tc5.5.x/webapps/docs/changelog.xml tomcat/jasper/tc5.5.x/src/share/org/apache/jasper/compiler/Validator.java Modified: tomcat/container/tc5.5.x/webapps/docs/changelog.xml URL: http://svn.apache.org/viewvc/tomcat/container/tc5.5.x/webapps/docs/changelog.xml?view=diff&rev=529817&r1=529816&r2=529817 ============================================================================== --- tomcat/container/tc5.5.x/webapps/docs/changelog.xml (original) +++ tomcat/container/tc5.5.x/webapps/docs/changelog.xml Tue Apr 17 17:32:11 2007 @@ -134,6 +134,11 @@ which file is being compiled. (yoavs) </fix> <fix> + <bug>41869</bug> TagData.getAttribute() should return + TagData.REQUEST_TIME_VALUE when the attribute value is an EL expression. + (markt) + </fix> + <fix> <bug>42072</bug> Don't call destroy() if the associated init() fails. Patch provided by Kawasima Kazuh. (markt) </fix> Modified: tomcat/jasper/tc5.5.x/src/share/org/apache/jasper/compiler/Validator.java URL: http://svn.apache.org/viewvc/tomcat/jasper/tc5.5.x/src/share/org/apache/jasper/compiler/Validator.java?view=diff&rev=529817&r1=529816&r2=529817 ============================================================================== --- tomcat/jasper/tc5.5.x/src/share/org/apache/jasper/compiler/Validator.java (original) +++ tomcat/jasper/tc5.5.x/src/share/org/apache/jasper/compiler/Validator.java Tue Apr 17 17:32:11 2007 @@ -1115,7 +1115,7 @@ result = new Node.JspAttribute(qName, uri, localName, - value, false, el, + value, true, el, dynamic); } else { value = value.replace(Constants.HACK_CHAR, '$'); --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]