incubator-sling-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cziege...@apache.org
Subject svn commit: r1499680 - /sling/trunk/bundles/scripting/jsp/src/main/java/org/apache/sling/scripting/jsp/jasper/compiler/Validator.java
Date Thu, 04 Jul 2013 08:44:29 GMT
Author: cziegeler
Date: Thu Jul  4 08:44:29 2013
New Revision: 1499680

URL: http://svn.apache.org/r1499680
Log:
SLING-2934 :   Wasted work in ValidateVisitor.checkXmlAttributes() . Apply patch from Adrian
Nistor

Modified:
    sling/trunk/bundles/scripting/jsp/src/main/java/org/apache/sling/scripting/jsp/jasper/compiler/Validator.java

Modified: sling/trunk/bundles/scripting/jsp/src/main/java/org/apache/sling/scripting/jsp/jasper/compiler/Validator.java
URL: http://svn.apache.org/viewvc/sling/trunk/bundles/scripting/jsp/src/main/java/org/apache/sling/scripting/jsp/jasper/compiler/Validator.java?rev=1499680&r1=1499679&r2=1499680&view=diff
==============================================================================
--- sling/trunk/bundles/scripting/jsp/src/main/java/org/apache/sling/scripting/jsp/jasper/compiler/Validator.java
(original)
+++ sling/trunk/bundles/scripting/jsp/src/main/java/org/apache/sling/scripting/jsp/jasper/compiler/Validator.java
Thu Jul  4 08:44:29 2013
@@ -1064,6 +1064,7 @@ class Validator {
                     el = ELParser.parse(attrs.getValue(i));
                     Iterator<ELNode> nodes = el.iterator();
                     while (nodes.hasNext()) {
+                        if (elExpression && deferredValueIsLiteral) break;
                         ELNode node = nodes.next();
                         if (node instanceof ELNode.Root) {
                             if (((ELNode.Root) node).getType() == '$') {



Mime
View raw message