tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ma...@apache.org
Subject svn commit: r898256 - /tomcat/trunk/java/org/apache/jasper/compiler/JspDocumentParser.java
Date Tue, 12 Jan 2010 08:59:09 GMT
Author: markt
Date: Tue Jan 12 08:59:08 2010
New Revision: 898256

URL: http://svn.apache.org/viewvc?rev=898256&view=rev
Log:
Make the check case insensitive. A strict reading of the specification requires case sensitivity
but be pragmatic.

Modified:
    tomcat/trunk/java/org/apache/jasper/compiler/JspDocumentParser.java

Modified: tomcat/trunk/java/org/apache/jasper/compiler/JspDocumentParser.java
URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/jasper/compiler/JspDocumentParser.java?rev=898256&r1=898255&r2=898256&view=diff
==============================================================================
--- tomcat/trunk/java/org/apache/jasper/compiler/JspDocumentParser.java (original)
+++ tomcat/trunk/java/org/apache/jasper/compiler/JspDocumentParser.java Tue Jan 12 08:59:08
2010
@@ -432,7 +432,7 @@
                     scriptlessBodyNode = node;
                 } else if (TagInfo.BODY_CONTENT_TAG_DEPENDENT.equalsIgnoreCase(bodyType))
{
                     tagDependentPending = true;
-                } else if (TagInfo.BODY_CONTENT_EMPTY.equals(bodyType)) {
+                } else if (TagInfo.BODY_CONTENT_EMPTY.equalsIgnoreCase(bodyType)) {
                     tagEmptyBody = node;
                 }
             }



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


Mime
View raw message