You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by ak...@hyperreal.org on 1999/10/25 12:29:14 UTC

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

akv         99/10/25 03:29:14

  Modified:    src/share/org/apache/jasper/compiler Tag:
                        TOMCAT_J2EE_10F_102199 JspReader.java
  Log:
  Fix to deal with custom tags that are empty:
  
   <foo:bar/>
  
  where there is no space between the "bar" and "/".
  
  Revision  Changes    Path
  No                   revision
  
  
  No                   revision
  
  
  1.1.1.1.2.1 +4 -4      jakarta-tomcat/src/share/org/apache/jasper/compiler/JspReader.java
  
  Index: JspReader.java
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat/src/share/org/apache/jasper/compiler/JspReader.java,v
  retrieving revision 1.1.1.1
  retrieving revision 1.1.1.1.2.1
  diff -u -r1.1.1.1 -r1.1.1.1.2.1
  --- JspReader.java	1999/10/09 00:20:36	1.1.1.1
  +++ JspReader.java	1999/10/25 10:29:13	1.1.1.1.2.1
  @@ -1,7 +1,7 @@
   /*
  - * $Header: /home/cvs/jakarta-tomcat/src/share/org/apache/jasper/compiler/JspReader.java,v 1.1.1.1 1999/10/09 00:20:36 duncan Exp $
  - * $Revision: 1.1.1.1 $
  - * $Date: 1999/10/09 00:20:36 $
  + * $Header: /home/cvs/jakarta-tomcat/src/share/org/apache/jasper/compiler/JspReader.java,v 1.1.1.1.2.1 1999/10/25 10:29:13 akv Exp $
  + * $Revision: 1.1.1.1.2.1 $
  + * $Date: 1999/10/25 10:29:13 $
    *
    * ====================================================================
    * 
  @@ -664,7 +664,7 @@
   	if ( ! isSpace() ) {
   	    int ch = peekChar();
   	    // Look for a single-char work delimiter:
  -	    if ( ch == '=' || ch == '>' || ch == '"' || ch == '\'' ) 
  +	    if ( ch == '=' || ch == '>' || ch == '"' || ch == '\'' || ch == '/') 
   		return true;
   	    // Look for an end-of-comment or end-of-tag:		
   	    if ( ch == '-' ) {