From: markt Date: Wed, 18 Apr 2007 00:32:36 +0000 (+0000) Subject: Fix bug 41869. TagData.getAttribute() should return TagData.REQUEST_TIME_VALUE when... X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=d479ace1352e6c5894192dda7f36f0ca4e5a2b4d;p=tomcat7.0 Fix bug 41869. TagData.getAttribute() should return TagData.REQUEST_TIME_VALUE when the attribute value is an EL expression. git-svn-id: https://svn.apache.org/repos/asf/tomcat/tc6.0.x/trunk@529818 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/java/org/apache/jasper/compiler/Validator.java b/java/org/apache/jasper/compiler/Validator.java index fc1a90288..826895245 100644 --- a/java/org/apache/jasper/compiler/Validator.java +++ b/java/org/apache/jasper/compiler/Validator.java @@ -1320,7 +1320,7 @@ class Validator { validateFunctions(el, n); result = new Node.JspAttribute(tai, qName, uri, - localName, value, false, el, dynamic); + localName, value, true, el, dynamic); ELContextImpl ctx = new ELContextImpl(); ctx.setFunctionMapper(getFunctionMapper(el)); diff --git a/webapps/docs/changelog.xml b/webapps/docs/changelog.xml index 079b2a258..0af3297ac 100644 --- a/webapps/docs/changelog.xml +++ b/webapps/docs/changelog.xml @@ -43,6 +43,15 @@ + + + + 41869 TagData.getAttribute() should return + TagData.REQUEST_TIME_VALUE when the attribute value is an EL expression. + (markt) + + +