Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=49297
authormarkt <markt@13f79535-47bb-0310-9956-ffa450edef68>
Tue, 19 Oct 2010 13:21:05 +0000 (13:21 +0000)
committermarkt <markt@13f79535-47bb-0310-9956-ffa450edef68>
Tue, 19 Oct 2010 13:21:05 +0000 (13:21 +0000)
commit20244985cfb863e04bae0f8c68f6a78de84141ba
tree82e7c1f28242e752b90a1eb4888b98f3d5130271
parent3864f5d0a1bac75a0cc446cf4f471d1da91b06e4
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=49297
Enforce the rules in the JSP specification for parsing the attributes of custom and standard actions that require that the attribute names are unique within an element and that there is whitespace before the attribute name. The whitespace test can be disabled by setting the system property <code>org.apache.jasper.compiler.Parser.STRICT_WHITESPACE</code> to <code>false</code>

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@1024229 13f79535-47bb-0310-9956-ffa450edef68
java/org/apache/jasper/compiler/Parser.java
java/org/apache/jasper/resources/LocalStrings.properties
java/org/apache/jasper/util/UniqueAttributesImpl.java [new file with mode: 0644]
test/org/apache/jasper/compiler/TestParser.java
test/org/apache/jasper/compiler/TestParserNoStrictWhitespace.java [new file with mode: 0644]
test/webapp-3.0/WEB-INF/tags/echo.tag
test/webapp-3.0/bug49297DuplicateAttr.jsp [new file with mode: 0644]
test/webapp-3.0/bug49297NoSpace.jsp [new file with mode: 0644]
webapps/docs/changelog.xml
webapps/docs/config/systemprops.xml