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 Sat, 12 Oct 2002 19:09:15 GMT
luehe       2002/10/12 12:09:14

  Modified:    jasper2/src/share/org/apache/jasper/compiler Validator.java
  Log:
  Fixed 13553: Jasper incorrectly generating a translation error if a
  tag has both a TEI and variable declarations.
  
  Revision  Changes    Path
  1.42      +5 -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.41
  retrieving revision 1.42
  diff -u -r1.41 -r1.42
  --- Validator.java	12 Oct 2002 18:55:29 -0000	1.41
  +++ Validator.java	12 Oct 2002 19:09:14 -0000	1.42
  @@ -797,7 +797,8 @@
   	    // class that returns a non-null object.
   	    TagExtraInfo tei = tagInfo.getTagExtraInfo();
   	    if (tei != null && tei.getVariableInfo(tagData) != null
  -		    && tagInfo.getTagVariableInfos() != null) {
  +		    && tagInfo.getTagVariableInfos() != null
  +		    && tagInfo.getTagVariableInfos().length > 0) {
   		err.jspError("jsp.error.non_null_tei_and_var_subelems",
   			     n.getName());
   	    }
  
  
  

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


Mime
View raw message