From: markt Date: Tue, 12 Jan 2010 08:59:08 +0000 (+0000) Subject: Make the check case insensitive. A strict reading of the specification requires case... X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=fdcfe2bd3b647856c9950cfb903f331a9ae18119;p=tomcat7.0 Make the check case insensitive. A strict reading of the specification requires case sensitivity but be pragmatic. git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@898256 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/java/org/apache/jasper/compiler/JspDocumentParser.java b/java/org/apache/jasper/compiler/JspDocumentParser.java index d07016cc3..e90023c43 100644 --- a/java/org/apache/jasper/compiler/JspDocumentParser.java +++ b/java/org/apache/jasper/compiler/JspDocumentParser.java @@ -432,7 +432,7 @@ class JspDocumentParser 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; } }