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-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to