You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by di...@apache.org on 2003/06/29 21:03:17 UTC
cvs commit: xml-axis/java/src/org/apache/axis/message SOAPBody.java
dims 2003/06/29 12:03:16
Modified: java/src/org/apache/axis/message SOAPBody.java
Log:
Fix for Bug 19956 - SAAJ SOAPBody.getChildElements faulty implementation
Revision Changes Path
1.44 +3 -1 xml-axis/java/src/org/apache/axis/message/SOAPBody.java
Index: SOAPBody.java
===================================================================
RCS file: /home/cvs/xml-axis/java/src/org/apache/axis/message/SOAPBody.java,v
retrieving revision 1.43
retrieving revision 1.44
diff -u -r1.43 -r1.44
--- SOAPBody.java 20 May 2003 15:07:01 -0000 1.43
+++ SOAPBody.java 29 Jun 2003 19:03:16 -0000 1.44
@@ -300,7 +300,9 @@
SOAPElement bodyEl;
while (e.hasMoreElements()) {
bodyEl = (SOAPElement)e.nextElement();
- if (bodyEl.getElementName().equals(name)) {
+ Name cname = bodyEl.getElementName();
+ if (cname.getURI().equals(name.getURI()) &&
+ cname.getLocalName().equals(name.getLocalName())) {
v.addElement(bodyEl);
}
}