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 am...@apache.org on 2006/12/15 15:03:53 UTC

svn commit: r487558 - /webservices/axis2/trunk/java/modules/adb-codegen/src/org/apache/axis2/schema/SchemaCompiler.java

Author: amilas
Date: Fri Dec 15 06:03:52 2006
New Revision: 487558

URL: http://svn.apache.org/viewvc?view=rev&rev=487558
Log:
fixed the issue 1867. put the processed xmlSchemaSimpleType elements to processed map only if they have a qname. 
otherwise anyway we have to process them.

Modified:
    webservices/axis2/trunk/java/modules/adb-codegen/src/org/apache/axis2/schema/SchemaCompiler.java

Modified: webservices/axis2/trunk/java/modules/adb-codegen/src/org/apache/axis2/schema/SchemaCompiler.java
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/adb-codegen/src/org/apache/axis2/schema/SchemaCompiler.java?view=diff&rev=487558&r1=487557&r2=487558
==============================================================================
--- webservices/axis2/trunk/java/modules/adb-codegen/src/org/apache/axis2/schema/SchemaCompiler.java (original)
+++ webservices/axis2/trunk/java/modules/adb-codegen/src/org/apache/axis2/schema/SchemaCompiler.java Fri Dec 15 06:03:52 2006
@@ -1729,6 +1729,9 @@
         if(simpleType.getQName() != null) {
             // Must do this up front to support recursive types
             fullyQualifiedClassName = writer.makeFullyQualifiedClassName(simpleType.getQName());
+            // we put the qname to processed type map it is only named type
+            // otherwise we have to any way process that element.
+            processedTypemap.put(simpleType.getQName(), fullyQualifiedClassName);
         } else {
             fullyQualifiedClassName = writer.makeFullyQualifiedClassName(xsElt.getQName());
             simpleType.addMetaInfo(SchemaConstants.SchemaCompilerInfoHolder.FAKE_QNAME,



---------------------------------------------------------------------
To unsubscribe, e-mail: axis-cvs-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-cvs-help@ws.apache.org