tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kin...@apache.org
Subject cvs commit: jakarta-tomcat-jasper/jasper2/src/share/org/apache/jasper/compiler TagLibraryInfoImpl.java
Date Sun, 25 Aug 2002 23:13:18 GMT
kinman      2002/08/25 16:13:18

  Modified:    jasper2/src/share/org/apache/jasper/compiler
                        TagLibraryInfoImpl.java
  Log:
  - Recognize but ignore <tag-extension> and <taglib-extension> elements
    in TLD.
  
  Revision  Changes    Path
  1.13      +9 -5      jakarta-tomcat-jasper/jasper2/src/share/org/apache/jasper/compiler/TagLibraryInfoImpl.java
  
  Index: TagLibraryInfoImpl.java
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat-jasper/jasper2/src/share/org/apache/jasper/compiler/TagLibraryInfoImpl.java,v
  retrieving revision 1.12
  retrieving revision 1.13
  diff -u -r1.12 -r1.13
  --- TagLibraryInfoImpl.java	20 Aug 2002 23:35:30 -0000	1.12
  +++ TagLibraryInfoImpl.java	25 Aug 2002 23:13:18 -0000	1.13
  @@ -293,9 +293,11 @@
               else if ("display-name".equals(tname) ||    // Ignored elements
                        "small-icon".equals(tname) ||
                        "large-icon".equals(tname) ||
  -                     "listener".equals(tname))
  +                     "listener".equals(tname)) {
                   ;
  -            else {
  +	    } else if ("taglib-extension".equals(tname)) {
  +		// Recognized but ignored
  +            } else {
                   Constants.message("jsp.warning.unknown.element.in.TLD", 
                                     new Object[] {tname},
                                     Logger.WARNING
  @@ -360,6 +362,8 @@
                   dynamicAttributes = JspUtil.booleanValue(element.getBody());
               } else if ("example".equals(tname)) {
                   // Ignored elements
  +	    } else if ("tag-extension".equals(tname)) {
  +		// Ignored
               } else {
                   Constants.message("jsp.warning.unknown.element.in.tag", 
                                     new Object[] {tname},
  
  
  

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