Index: SwitchTag.java =================================================================== RCS file: /home/cvspublic/jakarta-commons/jelly/src/java/org/apache/commons/jelly/tags/core/SwitchTag.java,v retrieving revision 1.7 diff -u -r1.7 SwitchTag.java --- SwitchTag.java 9 Sep 2004 12:27:53 -0000 1.7 +++ SwitchTag.java 18 Jan 2005 21:09:18 -0000 @@ -52,6 +52,10 @@ } public void doTag(XMLOutput output) throws MissingAttributeException, JellyTagException { + this.defaultEncountered = false; + this.someCaseMatched = false; + this.fallingThru = false; + if(null == on) { throw new MissingAttributeException("on"); } else {