axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d...@apache.org
Subject cvs commit: xml-axis/java/src/org/apache/axis/message SOAPBody.java
Date Sun, 29 Jun 2003 19:03:17 GMT
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);
               }
           }
  
  
  

Mime
View raw message