axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject [jira] Updated: (AXIS-1419) bug in getElementsByTagName of MessageElement
Date Fri, 15 Oct 2004 18:05:54 GMT
The following issue has been updated:

    Updater: Davanum Srinivas (
       Date: Fri, 15 Oct 2004 11:05 AM
             Component changed to SAAJ
For a full history of the issue, see:

View the issue:

Here is an overview of the issue:
        Key: AXIS-1419
    Summary: bug in getElementsByTagName of MessageElement
       Type: Bug

     Status: Open
   Priority: Major

    Project: Axis
             1.2 Beta

   Assignee: Davanum Srinivas
   Reporter: nishant kumar

    Created: Mon, 28 Jun 2004 3:38 AM
    Updated: Fri, 15 Oct 2004 11:05 AM

there is bug in the following method of MessageElement

public NodeList getElementsByTagName(String name) {
  // add 2nd Generation
  for(int i =0; i < children.size(); i++){

first of all why should all the children be blindly added to the nodelist without making any
checks for the name.

secondly why does one think that all the children will be instance of MessageElement that
one has once again blindly casted the children into MessageElement

This message is automatically generated by JIRA.

If you think it was sent incorrectly contact one of the administrators:

If you want more information on JIRA, or have a bug to report see:

View raw message