RCS file: /home/cvspublic/jakarta-commons/jelly/src/java/org/apache/commons/jelly/impl/StaticTagScript.java,v retrieving revision 1.18 diff -u -r1.18 StaticTagScript.java --- StaticTagScript.java 11 Jun 2003 15:55:58 -0000 1.18 +++ StaticTagScript.java 17 Sep 2003 00:42:55 -0000 @@ -103,6 +103,9 @@ throw new JellyTagException("could not start namespace prefixes",e); } + if ( ! context.isCacheTags() ) { + clearTag(); + } Tag tag = null; try { tag = getTag(); @@ -149,6 +152,11 @@ } catch (RuntimeException e) { handleException(e); + } + finally { + if ( ! context.isCacheTags() ) { + clearTag(); + } } try {