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 2010/01/12 09:59:09 UTC

svn commit: r898256 - /tomcat/trunk/java/org/apache/jasper/compiler/JspDocumentParser.java

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