You are viewing a plain text version of this content. The canonical link for it is here.
Posted to axis-cvs@ws.apache.org by er...@apache.org on 2004/08/04 04:54:30 UTC

cvs commit: ws-axis/java/src/org/apache/axis/wsdl/toJava JavaGeneratorFactory.java

ericf       2004/08/03 19:54:30

  Modified:    java/src/org/apache/axis/wsdl/toJava
                        JavaGeneratorFactory.java
  Log:
  Applied contributed patch for bug AXIS-1347
  
  Revision  Changes    Path
  1.53      +1 -0      ws-axis/java/src/org/apache/axis/wsdl/toJava/JavaGeneratorFactory.java
  
  Index: JavaGeneratorFactory.java
  ===================================================================
  RCS file: /home/cvs/ws-axis/java/src/org/apache/axis/wsdl/toJava/JavaGeneratorFactory.java,v
  retrieving revision 1.52
  retrieving revision 1.53
  diff -u -r1.52 -r1.53
  --- JavaGeneratorFactory.java	6 Jul 2004 23:19:40 -0000	1.52
  +++ JavaGeneratorFactory.java	4 Aug 2004 02:54:29 -0000	1.53
  @@ -523,6 +523,7 @@
               uniqueNum = javifyTypeEntryName(symbolTable, base, anonQNames, uniqueNum);
   
               if (Utils.getEnumerationBaseAndValues(te.getNode(), symbolTable) == null
  +                    &&SchemaUtils.getComplexElementExtensionBase(te.getNode(), symbolTable) == null
                       &&SchemaUtils.getContainedAttributeTypes(te.getNode(), symbolTable) == null) {
                   if(!SchemaUtils.isSimpleTypeWithUnion(te.getNode())) {
                       if (base.isSimpleType()) {