haul        2002/12/16 01:35:39

  Modified:    src/java/org/apache/cocoon/transformation
                        SimpleFormTransformer.java
  Log:
    <action dev="CH" type="fix">
      SimpleFormTransfomer: fixed error tags when no validation data available.
    </action>
  
  Revision  Changes    Path
  1.5       +3 -1      
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.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- SimpleFormTransformer.java        5 Dec 2002 10:40:07 -0000       1.4
  +++ SimpleFormTransformer.java        16 Dec 2002 09:35:39 -0000      1.5
  @@ -569,6 +569,7 @@
                   getLogger().debug("replacing");
               this.ignoreCount++;
               this.stack.push(name);
  +            this.ignoreThis = false;
               super.startElement(uri, name, raw, attributes);
               String valString = String.valueOf(value[0]);
               super.characters(valString.toCharArray(), 0, valString.length());
  @@ -591,6 +592,7 @@
           if (this.validationResults == null || this.fixed) {
               this.ignoreCount++;
               this.stack.push(name);
  +            this.ignoreThis = true;
           } else {
               String aName = attr.getValue("name");
               if (aName == null) {
  
  
  

----------------------------------------------------------------------
In case of troubles, e-mail:     [EMAIL PROTECTED]
To unsubscribe, e-mail:          [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to