axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ami...@apache.org
Subject svn commit: r492932 - /webservices/axis2/branches/java/1_1/modules/adb-codegen/src/org/apache/axis2/schema/SchemaCompiler.java
Date Fri, 05 Jan 2007 08:00:46 GMT
Author: amilas
Date: Fri Jan  5 00:00:45 2007
New Revision: 492932

URL: http://svn.apache.org/viewvc?view=rev&rev=492932
Log:
fixed the issue AXIS2-1928. Earlier it tried to get the xmlschema type from the parent type.
but we have to use the 
getType method to resolve it properly if the base type in another schema.

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

Modified: webservices/axis2/branches/java/1_1/modules/adb-codegen/src/org/apache/axis2/schema/SchemaCompiler.java
URL: http://svn.apache.org/viewvc/webservices/axis2/branches/java/1_1/modules/adb-codegen/src/org/apache/axis2/schema/SchemaCompiler.java?view=diff&rev=492932&r1=492931&r2=492932
==============================================================================
--- webservices/axis2/branches/java/1_1/modules/adb-codegen/src/org/apache/axis2/schema/SchemaCompiler.java
(original)
+++ webservices/axis2/branches/java/1_1/modules/adb-codegen/src/org/apache/axis2/schema/SchemaCompiler.java
Fri Jan  5 00:00:45 2007
@@ -1103,7 +1103,8 @@
                                        XmlSchema parentSchema)
             throws SchemaCompilationException {
 
-        XmlSchemaType type = parentSchema.getTypeByName(baseTypeName);
+
+        XmlSchemaType type = getType(parentSchema,baseTypeName);
 
         BeanWriterMetaInfoHolder baseMetaInfoHolder = (BeanWriterMetaInfoHolder)
                 processedTypeMetaInfoMap.get(baseTypeName);



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


Mime
View raw message