geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From genspr...@apache.org
Subject svn commit: r1164332 - /geronimo/server/branches/2.1/plugins/axis2/geronimo-axis2/src/test/java/org/apache/geronimo/axis2/Axis2WebServiceContainerTest.java
Date Fri, 02 Sep 2011 02:14:38 GMT
Author: genspring
Date: Fri Sep  2 02:14:38 2011
New Revision: 1164332

URL: http://svn.apache.org/viewvc?rev=1164332&view=rev
Log:
Use correct  org.w3c.dom.Element API to fix a testcase failure.

Modified:
    geronimo/server/branches/2.1/plugins/axis2/geronimo-axis2/src/test/java/org/apache/geronimo/axis2/Axis2WebServiceContainerTest.java

Modified: geronimo/server/branches/2.1/plugins/axis2/geronimo-axis2/src/test/java/org/apache/geronimo/axis2/Axis2WebServiceContainerTest.java
URL: http://svn.apache.org/viewvc/geronimo/server/branches/2.1/plugins/axis2/geronimo-axis2/src/test/java/org/apache/geronimo/axis2/Axis2WebServiceContainerTest.java?rev=1164332&r1=1164331&r2=1164332&view=diff
==============================================================================
--- geronimo/server/branches/2.1/plugins/axis2/geronimo-axis2/src/test/java/org/apache/geronimo/axis2/Axis2WebServiceContainerTest.java
(original)
+++ geronimo/server/branches/2.1/plugins/axis2/geronimo-axis2/src/test/java/org/apache/geronimo/axis2/Axis2WebServiceContainerTest.java
Fri Sep  2 02:14:38 2011
@@ -102,7 +102,7 @@ public class Axis2WebServiceContainerTes
         			envelope.append(" "+attributes.item(k).getNodeName().trim());
         			envelope.append("=\""+attributes.item(k).getNodeValue().trim()+"\"");
         		}
-        		String content = element.getTextContent();
+        		String content = element.getNodeValue();
         		
         		if(content != null && !content.equals("")){
         			envelope.append(">");
@@ -179,7 +179,7 @@ public class Axis2WebServiceContainerTes
     		}
     	}
     	
-    	String value = e.getTextContent();
+    	String value = e.getNodeValue();
 		
 		if(value != null && !value.equals("")){
 			content.append(">");



Mime
View raw message