jakarta-taglibs-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lu...@apache.org
Subject cvs commit: jakarta-taglibs/standard/src/org/apache/taglibs/standard/tlv JstlFmtTLV.java
Date Thu, 18 Apr 2002 22:27:00 GMT
luehe       02/04/18 15:26:59

  Modified:    standard/src/org/apache/taglibs/standard/tlv JstlFmtTLV.java
  Log:
  Fixed 8281: Dangling scope in <fmt:setTimeZone> should be legal
  
  Revision  Changes    Path
  1.18      +2 -2      jakarta-taglibs/standard/src/org/apache/taglibs/standard/tlv/JstlFmtTLV.java
  
  Index: JstlFmtTLV.java
  ===================================================================
  RCS file: /home/cvs/jakarta-taglibs/standard/src/org/apache/taglibs/standard/tlv/JstlFmtTLV.java,v
  retrieving revision 1.17
  retrieving revision 1.18
  diff -u -r1.17 -r1.18
  --- JstlFmtTLV.java	17 Apr 2002 21:10:59 -0000	1.17
  +++ JstlFmtTLV.java	18 Apr 2002 22:26:59 -0000	1.18
  @@ -112,8 +112,8 @@
       // tag names
       private final String SETLOCALE = "setLocale";
       private final String SETBUNDLE = "setBundle";
  +    private final String SETTIMEZONE = "setTimeZone";
       private final String BUNDLE = "bundle";
  -    private final String TIMEZONE = "timeZone";
       private final String MESSAGE = "message";
       private final String MESSAGE_PARAM = "param";
       private final String FORMAT_NUMBER = "formatNumber";
  @@ -193,7 +193,7 @@
               if (qn.startsWith(prefix + ":")
                   && !isFmtTag(ns, ln, SETLOCALE) 
   		&& !isFmtTag(ns, ln, SETBUNDLE)
  -		&& !isFmtTag(ns, ln, TIMEZONE)
  +		&& !isFmtTag(ns, ln, SETTIMEZONE)
                   && hasDanglingScope(a))
                   fail(Resources.getMessage("TLV_DANGLING_SCOPE", qn));
   
  
  
  

--
To unsubscribe, e-mail:   <mailto:taglibs-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:taglibs-dev-help@jakarta.apache.org>


Mime
View raw message