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 TagLibraryInfoImpl.java
Date Mon, 25 Aug 2003 19:46:50 GMT
luehe       2003/08/25 12:46:50

  Modified:    jasper2/src/share/org/apache/jasper/compiler
                        TagLibraryInfoImpl.java
  Log:
  Supply taglib's unique id (instead of the value of the uri argument in
  the directive) to the TagLibraryValidator's validate method.
  
  Corresponding correction has been made to the JSP spec.
  
  Revision  Changes    Path
  1.45      +6 -4      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.44
  retrieving revision 1.45
  diff -u -r1.44 -r1.45
  --- TagLibraryInfoImpl.java	15 Aug 2003 21:01:41 -0000	1.44
  +++ TagLibraryInfoImpl.java	25 Aug 2003 19:46:50 -0000	1.45
  @@ -726,7 +726,9 @@
       public ValidationMessage[] validate(PageData thePage) {
   	TagLibraryValidator tlv = getTagLibraryValidator();
   	if (tlv == null) return null;
  -	return tlv.validate(getPrefixString(), getURI(), thePage);
  +	return tlv.validate(getPrefixString(),
  +                            (getReliableURN() != null) ? getReliableURN() : getURI(),
  +                            thePage);
       }
   
       protected TagLibraryValidator tagLibraryValidator; 
  
  
  

Mime
View raw message