From fdcfe2bd3b647856c9950cfb903f331a9ae18119 Mon Sep 17 00:00:00 2001 From: markt Date: Tue, 12 Jan 2010 08:59:08 +0000 Subject: [PATCH] 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 --- java/org/apache/jasper/compiler/JspDocumentParser.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } } -- 2.11.0