ws-axis-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aj...@apache.org
Subject svn commit: r386113 - /webservices/axis2/trunk/java/modules/codegen/src/org/apache/axis2/schema/SchemaCompiler.java
Date Wed, 15 Mar 2006 17:10:59 GMT
Author: ajith
Date: Wed Mar 15 09:10:58 2006
New Revision: 386113

URL: http://svn.apache.org/viewcvs?rev=386113&view=rev
Log:
1.Fixed a bug caused by the modification done to the code earlier today. Now the schema name
is taken from the schema object only when that object is present (becomes a problem for xs:anyType)

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

Modified: webservices/axis2/trunk/java/modules/codegen/src/org/apache/axis2/schema/SchemaCompiler.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/codegen/src/org/apache/axis2/schema/SchemaCompiler.java?rev=386113&r1=386112&r2=386113&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/codegen/src/org/apache/axis2/schema/SchemaCompiler.java
(original)
+++ webservices/axis2/trunk/java/modules/codegen/src/org/apache/axis2/schema/SchemaCompiler.java
Wed Mar 15 09:10:58 2006
@@ -929,7 +929,7 @@
                     clazzName = (String) processedElementTypeMap.get(elt.getQName());
                     referencedQName = elt.getQName();
                     metainfHolder.registerMapping(referencedQName,
-                            elt.getSchemaType().getQName(), //always get the schema type
name from the schema it-self
+                            elt.getSchemaType()!=null?elt.getSchemaType().getQName():elt.getSchemaTypeName(),
//always get the schema type name from the schema it-self
                             clazzName,
                             ((Boolean) processedElementArrayStatusMap.get(elt)).booleanValue()
?
                                     SchemaConstants.ARRAY_TYPE :



Mime
View raw message