From: markt Date: Sat, 16 Sep 2006 01:14:21 +0000 (+0000) Subject: port fix for bug 34509. Allow tag names to use full range of characters as defined... X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=67cfa0023865b97bb321708dc9a988a7522c3820;p=tomcat7.0 port fix for bug 34509. Allow tag names to use full range of characters as defined by the spec. git-svn-id: https://svn.apache.org/repos/asf/tomcat/tc6.0.x/trunk@446801 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/java/org/apache/jasper/compiler/Generator.java b/java/org/apache/jasper/compiler/Generator.java index 59f99a743..3180fd461 100644 --- a/java/org/apache/jasper/compiler/Generator.java +++ b/java/org/apache/jasper/compiler/Generator.java @@ -300,7 +300,7 @@ class Generator { if (hasEmptyBody) { poolName = poolName + "_nobody"; } - return JspUtil.makeXmlJavaIdentifier(poolName); + return JspUtil.makeJavaIdentifier(poolName); } } @@ -2714,7 +2714,7 @@ class Generator { varName = varName + "0"; } } - return JspUtil.makeXmlJavaIdentifier(varName); + return JspUtil.makeJavaIdentifier(varName); } private String evaluateAttribute(TagHandlerInfo handlerInfo,