Author: amilas
Date: Wed Apr  4 14:06:37 2012
New Revision: 1309395

URL: http://svn.apache.org/viewvc?rev=1309395&view=rev
Log:
remove the unnecessary schema compile. This mehtod only have to return the 
parent schema. This causes problems if it try to compiles set of elements in a 
schema while in a middle of compile an element, and the elements of the schema 
refer to the element being compiled now.

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

Modified: 
axis/axis2/java/core/trunk/modules/adb-codegen/src/org/apache/axis2/schema/SchemaCompiler.java
URL: 
http://svn.apache.org/viewvc/axis/axis2/java/core/trunk/modules/adb-codegen/src/org/apache/axis2/schema/SchemaCompiler.java?rev=1309395&r1=1309394&r2=1309395&view=diff
==============================================================================
--- 
axis/axis2/java/core/trunk/modules/adb-codegen/src/org/apache/axis2/schema/SchemaCompiler.java
 (original)
+++ 
axis/axis2/java/core/trunk/modules/adb-codegen/src/org/apache/axis2/schema/SchemaCompiler.java
 Wed Apr  4 14:06:37 2012
@@ -2724,7 +2724,6 @@ public class SchemaCompiler {
             } else if (availableSchemaMap.containsKey(targetNamespace)){
                 XmlSchema tempSchema = availableSchemaMap.get(targetNamespace);
                 if (isComponetExists(tempSchema,componentQName,componetType)){
-                    compile(tempSchema);
                     newParentSchema = tempSchema;
                 }
             }


Reply via email to