You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@cocoon.apache.org by ha...@apache.org on 2003/01/31 17:29:48 UTC

cvs commit: xml-cocoon2/src/java/org/apache/cocoon/transformation SimpleFormTransformer.java

haul        2003/01/31 08:29:48

  Modified:    src/java/org/apache/cocoon/transformation
                        SimpleFormTransformer.java
  Log:
  squash bug triggered by markup in error elements causing additional closing event.
  
  Revision  Changes    Path
  1.6       +6 -3      xml-cocoon2/src/java/org/apache/cocoon/transformation/SimpleFormTransformer.java
  
  Index: SimpleFormTransformer.java
  ===================================================================
  RCS file: /home/cvs/xml-cocoon2/src/java/org/apache/cocoon/transformation/SimpleFormTransformer.java,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- SimpleFormTransformer.java	16 Dec 2002 09:35:39 -0000	1.5
  +++ SimpleFormTransformer.java	31 Jan 2003 16:29:48 -0000	1.6
  @@ -697,8 +697,11 @@
                       this.ignoreCount--;
                   }
               }
  -            if (this.ignoreCount > 0 || (this.ignoreCount == 0 && this.ignoreThis)) {
  -                this.ignoreThis = false;
  +            if (this.ignoreCount == 0 && this.ignoreThis) {
  +               this.ignoreThis = false;
  +               // skip event 
  +            } else if (this.ignoreCount > 0 ) {
  +               // skip event 
               } else {
                   switch (((Integer)elementNames.get(name,defaultElement)).intValue()) {
                   case ELEMENT_INPUT:
  
  
  

----------------------------------------------------------------------
In case of troubles, e-mail:     webmaster@xml.apache.org
To unsubscribe, e-mail:          cocoon-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: cocoon-cvs-help@xml.apache.org