cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From h...@apache.org
Subject cvs commit: cocoon-2.1/src/blocks/web3/java/org/apache/cocoon/transformation Web3RfcTransformer.java
Date Tue, 01 Jul 2003 11:33:55 GMT
haul        2003/07/01 04:33:55

  Modified:    src/blocks/web3/java/org/apache/cocoon/transformation
                        Web3RfcTransformer.java
  Log:
    <action dev="CH" type="fix" due-to="Michael Gerzabek" due-to-email="michael.gerzabek@aon.at">
      Web3: Fix extra close element on connectivity loss.
    </action>
  
  Revision  Changes    Path
  1.5       +7 -3      cocoon-2.1/src/blocks/web3/java/org/apache/cocoon/transformation/Web3RfcTransformer.java
  
  Index: Web3RfcTransformer.java
  ===================================================================
  RCS file: /home/cvs/cocoon-2.1/src/blocks/web3/java/org/apache/cocoon/transformation/Web3RfcTransformer.java,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- Web3RfcTransformer.java	6 May 2003 14:13:01 -0000	1.4
  +++ Web3RfcTransformer.java	1 Jul 2003 11:33:55 -0000	1.5
  @@ -207,9 +207,13 @@
                       catch (Exception ex) {
                           String error = "Problems getting client for backend: '" 
                               + this.backend + "'";
  -                        getLogger().error (error, ex);                   
  +                        getLogger().error (error, ex);   
  +                        
  +                        error = ex.getMessage();
  +                        attributes.clear();
  +                        super.contentHandler.startElement(uri, loc, raw, a);          
     
                           super.contentHandler.startElement(uri, Web3.PROCESSING_X_ELEM,

  -                            Web3.PROCESSING_X_ELEM, a);
  +                            Web3.PROCESSING_X_ELEM, attributes);
                           super.contentHandler.characters(error.toCharArray(), 0, 
                               error.length());
                           super.contentHandler.endElement(uri, Web3.PROCESSING_X_ELEM, 
  
  
  

Mime
View raw message