You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by ho...@apache.org on 2001/03/31 00:26:37 UTC

cvs commit: jakarta-tomcat-4.0/jasper/src/share/org/apache/jasper/compiler ParserXJspSaxHandler.java

horwat      01/03/30 14:26:37

  Modified:    jasper/src/share/org/apache/jasper/compiler
                        ParserXJspSaxHandler.java
  Log:
  Fix jsp xml syntax processing. Handle </jsp:params> end tag properly.
  
  Bugzilla #618
  
  Revision  Changes    Path
  1.8       +4 -0      jakarta-tomcat-4.0/jasper/src/share/org/apache/jasper/compiler/ParserXJspSaxHandler.java
  
  Index: ParserXJspSaxHandler.java
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat-4.0/jasper/src/share/org/apache/jasper/compiler/ParserXJspSaxHandler.java,v
  retrieving revision 1.7
  retrieving revision 1.8
  diff -u -r1.7 -r1.8
  --- ParserXJspSaxHandler.java	2000/12/22 20:34:56	1.7
  +++ ParserXJspSaxHandler.java	2001/03/30 22:26:37	1.8
  @@ -318,6 +318,10 @@
   		node.validate(true, false);
   		// push the node back, it will be needed by the container node
   		stack.push(node);
  +	    } else if (name.equals("jsp:params")) {
  +                // don't have it pushed on the stack...
  +                // this is a noop...
  +                return;
   	    } else if (name.equals("jsp:fallback")) {
   		node.validate(false, true);
   		// push the node back, it will be needed by the container node