axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d...@apache.org
Subject cvs commit: ws-axis/java/src/org/apache/axis/wsdl/symbolTable SchemaUtils.java
Date Wed, 27 Jul 2005 20:39:35 GMT
dims        2005/07/27 13:39:35

  Modified:    java/src/org/apache/axis/wsdl/symbolTable SchemaUtils.java
  Log:
  Fix for AXIS-1989 - WSDL2Java new array wrapping fails if schema has namspace prefix
  from Clive Brettingham-Moore
  
  Revision  Changes    Path
  1.61      +2 -1      ws-axis/java/src/org/apache/axis/wsdl/symbolTable/SchemaUtils.java
  
  Index: SchemaUtils.java
  ===================================================================
  RCS file: /home/cvs/ws-axis/java/src/org/apache/axis/wsdl/symbolTable/SchemaUtils.java,v
  retrieving revision 1.60
  retrieving revision 1.61
  diff -u -r1.60 -r1.61
  --- SchemaUtils.java	9 Jul 2005 17:05:44 -0000	1.60
  +++ SchemaUtils.java	27 Jul 2005 20:39:35 -0000	1.61
  @@ -494,7 +494,8 @@
               for (int i = 0; i < children.getLength(); i++) {
                   Node child = children.item(i);
                   if (child != null) {
  -                    if (child.getNodeName() != null && name.equals(child.getNodeName()))
{
  +                    if ((child.getNodeName() != null && (name.equals(child.getNodeName())))
||
  +                        (child.getLocalName() != null && (name.equals(child.getLocalName()))))
{
                           return child;
                       }
                   }
  
  
  

Mime
View raw message