From dev-return-101949-apmail-tomcat-dev-archive=tomcat.apache.org@tomcat.apache.org Tue Jan 12 08:59:31 2010 Return-Path: Delivered-To: apmail-tomcat-dev-archive@www.apache.org Received: (qmail 2384 invoked from network); 12 Jan 2010 08:59:31 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 12 Jan 2010 08:59:31 -0000 Received: (qmail 62568 invoked by uid 500); 12 Jan 2010 08:59:30 -0000 Delivered-To: apmail-tomcat-dev-archive@tomcat.apache.org Received: (qmail 62487 invoked by uid 500); 12 Jan 2010 08:59:30 -0000 Mailing-List: contact dev-help@tomcat.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Tomcat Developers List" Delivered-To: mailing list dev@tomcat.apache.org Received: (qmail 62476 invoked by uid 99); 12 Jan 2010 08:59:30 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 12 Jan 2010 08:59:30 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 12 Jan 2010 08:59:29 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 32C3E238897D; Tue, 12 Jan 2010 08:59:09 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r898256 - /tomcat/trunk/java/org/apache/jasper/compiler/JspDocumentParser.java Date: Tue, 12 Jan 2010 08:59:09 -0000 To: dev@tomcat.apache.org From: markt@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20100112085909.32C3E238897D@eris.apache.org> 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