You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by ma...@apache.org on 2014/04/28 16:20:08 UTC

svn commit: r1590651 - in /tomcat/tc7.0.x/trunk: ./ test/org/apache/jasper/compiler/TestELParser.java

Author: markt
Date: Mon Apr 28 14:20:08 2014
New Revision: 1590651

URL: http://svn.apache.org/r1590651
Log:
Clarify escaping

Modified:
    tomcat/tc7.0.x/trunk/   (props changed)
    tomcat/tc7.0.x/trunk/test/org/apache/jasper/compiler/TestELParser.java

Propchange: tomcat/tc7.0.x/trunk/
------------------------------------------------------------------------------
  Merged /tomcat/trunk:r1590648

Modified: tomcat/tc7.0.x/trunk/test/org/apache/jasper/compiler/TestELParser.java
URL: http://svn.apache.org/viewvc/tomcat/tc7.0.x/trunk/test/org/apache/jasper/compiler/TestELParser.java?rev=1590651&r1=1590650&r2=1590651&view=diff
==============================================================================
--- tomcat/tc7.0.x/trunk/test/org/apache/jasper/compiler/TestELParser.java (original)
+++ tomcat/tc7.0.x/trunk/test/org/apache/jasper/compiler/TestELParser.java Mon Apr 28 14:20:08 2014
@@ -40,8 +40,7 @@ import org.apache.jasper.el.ELContextImp
  * <li>The strings passed to {@link #doTestParser(String,String)} are Java
  *     escaped in the source code and will be unescaped before being used.</li>
  * <li>LiteralExpressions always occur outside of "${...}" and "#{...}". Literal
- *     expressions escape '$' and '#' with '\\' if '$' or '#' is followed by '{'
- *     but neither '\\' nor '{' is escaped.</li>
+ *     expressions escape '$' and '#' with '\\'</li>
  * <li>LiteralStrings always occur inside "${...}" or "#{...}". Literal strings
  *     escape '\'', '\"' and '\\' with '\\'. Escaping '\"' is optional if the
  *     literal string is delimited by '\''. Escaping '\'' is optional if the



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