axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bu...@apache.org
Subject cvs commit: xml-axis/java/src/org/apache/axis/wsdl/symbolTable SymbolTable.java
Date Wed, 04 Sep 2002 13:32:54 GMT
butek       2002/09/04 06:32:54

  Modified:    java/src/org/apache/axis/utils axisNLS.properties
               java/src/org/apache/axis/wsdl/symbolTable SymbolTable.java
  Log:
  WSDL2Java failed if WSDL referred to an undefined type, but it did not fail
  if WSDL referred to an undefined element.  Fixed.
  
  Revision  Changes    Path
  1.58      +1 -0      xml-axis/java/src/org/apache/axis/utils/axisNLS.properties
  
  Index: axisNLS.properties
  ===================================================================
  RCS file: /home/cvs/xml-axis/java/src/org/apache/axis/utils/axisNLS.properties,v
  retrieving revision 1.57
  retrieving revision 1.58
  diff -u -r1.57 -r1.58
  --- axisNLS.properties	4 Sep 2002 13:09:23 -0000	1.57
  +++ axisNLS.properties	4 Sep 2002 13:32:54 -0000	1.58
  @@ -1009,3 +1009,4 @@
   noValidHeader=qname attribute is missing.
   
   badNonNegInt00=Invalid nonNegativeInteger
  +undefinedElem00=Element {0} is referenced but not defined.
  
  
  
  1.30      +5 -0      xml-axis/java/src/org/apache/axis/wsdl/symbolTable/SymbolTable.java
  
  Index: SymbolTable.java
  ===================================================================
  RCS file: /home/cvs/xml-axis/java/src/org/apache/axis/wsdl/symbolTable/SymbolTable.java,v
  retrieving revision 1.29
  retrieving revision 1.30
  diff -u -r1.29 -r1.30
  --- SymbolTable.java	30 Aug 2002 19:35:40 -0000	1.29
  +++ SymbolTable.java	4 Sep 2002 13:32:54 -0000	1.30
  @@ -486,6 +486,11 @@
                               JavaUtils.getMessage("undefined00",
                                                    entry.getQName().toString()));
                   } // if undefined
  +                else if (entry instanceof UndefinedElement) {
  +                    throw new IOException(
  +                            JavaUtils.getMessage("undefinedElem00",
  +                            entry.getQName().toString()));
  +                }
               }
           }
       } // checkForUndefined
  
  
  

Mime
View raw message