tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lu...@apache.org
Subject cvs commit: jakarta-tomcat-jasper/jasper2/src/share/org/apache/jasper/compiler Validator.java
Date Tue, 04 Mar 2003 22:41:13 GMT
luehe       2003/03/04 14:41:13

  Modified:    jasper2/src/share/org/apache/jasper/compiler Validator.java
  Log:
  Fixed URI comparison when checking that no invalid XML-style attributes are present
  
  Revision  Changes    Path
  1.90      +4 -4      jakarta-tomcat-jasper/jasper2/src/share/org/apache/jasper/compiler/Validator.java
  
  Index: Validator.java
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat-jasper/jasper2/src/share/org/apache/jasper/compiler/Validator.java,v
  retrieving revision 1.89
  retrieving revision 1.90
  diff -u -r1.89 -r1.90
  --- Validator.java	4 Mar 2003 22:34:25 -0000	1.89
  +++ Validator.java	4 Mar 2003 22:41:12 -0000	1.90
  @@ -891,7 +891,7 @@
   		    if (attrs.getLocalName(i).equals(tldAttrs[j].getName())
   			    && (attrs.getURI(i) == null
   				|| attrs.getURI(i).length() == 0
  -				|| attrs.getURI(i) == n.getURI())) {
  +				|| attrs.getURI(i).equals(n.getURI()))) {
   			if (tldAttrs[j].canBeRequestTime()) {
                               Class expectedType = String.class;
                               try {
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org


Mime
View raw message