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 Parser.java
Date Fri, 17 Jan 2003 20:02:25 GMT
luehe       2003/01/17 12:02:25

  Modified:    jasper2/src/share/org/apache/jasper/compiler Parser.java
  Log:
  Fixed 16088: Translation error not generated if body of jsp:attribute, providing an attribute
value of type JspFragment, contains a scripting element
  
  Revision  Changes    Path
  1.57      +5 -4      jakarta-tomcat-jasper/jasper2/src/share/org/apache/jasper/compiler/Parser.java
  
  Index: Parser.java
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat-jasper/jasper2/src/share/org/apache/jasper/compiler/Parser.java,v
  retrieving revision 1.56
  retrieving revision 1.57
  diff -u -r1.56 -r1.57
  --- Parser.java	13 Jan 2003 23:50:48 -0000	1.56
  +++ Parser.java	17 Jan 2003 20:02:25 -0000	1.57
  @@ -1702,7 +1702,8 @@
                       reader.skipSpaces();
                   }
                   parseBody(namedAttributeNode, "jsp:attribute", 
  -			  TagInfo.BODY_CONTENT_JSP);
  +			  getAttributeBodyType(parent,
  +					       attrs.getValue("name")));
                   if (namedAttributeNode.isTrim()) {
                       Node.Nodes subElems = namedAttributeNode.getBody();
   		    if (subElems != null) {
  
  
  

--
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