[jboss-svn-commits] JBL Code SVN: r20353 - labs/jbosstm/workspace/interop/WSTX11-interop/src/com/jboss/transaction/txinterop/proxy.

jboss-svn-commits at lists.jboss.org jboss-svn-commits at lists.jboss.org
Fri Jun 6 06:10:36 EDT 2008


Author: adinn
Date: 2008-06-06 06:10:36 -0400 (Fri, 06 Jun 2008)
New Revision: 20353

Modified:
   labs/jbosstm/workspace/interop/WSTX11-interop/src/com/jboss/transaction/txinterop/proxy/AddressingProxySAXHandler.java
Log:
fixed bug in proxy translation which was transferring spaces between an element end tag and the next element start tag into the element body following the start tag

Modified: labs/jbosstm/workspace/interop/WSTX11-interop/src/com/jboss/transaction/txinterop/proxy/AddressingProxySAXHandler.java
===================================================================
--- labs/jbosstm/workspace/interop/WSTX11-interop/src/com/jboss/transaction/txinterop/proxy/AddressingProxySAXHandler.java	2008-06-06 09:56:05 UTC (rev 20352)
+++ labs/jbosstm/workspace/interop/WSTX11-interop/src/com/jboss/transaction/txinterop/proxy/AddressingProxySAXHandler.java	2008-06-06 10:10:36 UTC (rev 20353)
@@ -122,18 +122,19 @@
                 if (inToElement)
                 {
                     toAddress = newValue ;
+                    inToElement = false;
                 }
+                inRewriteElement = false;
             }
             else if (inIdentifierElement)
             {
                 identifier = characterContent.toString() ;
                 getNextHandler().characters(identifier.toCharArray(), 0, identifier.length()) ;
+                inIdentifierElement = false;
             }
             characterContent.setLength(0) ;
         }
         getNextHandler().endElement(uri, localName, qName) ;
-        inRewriteElement = false ;
-        inToElement = false ;
     }
     
     /**




More information about the jboss-svn-commits mailing list