axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ami...@apache.org
Subject svn commit: r642680 - /webservices/axis2/trunk/java/modules/adb-codegen/src/org/apache/axis2/schema/SchemaCompiler.java
Date Sun, 30 Mar 2008 04:45:25 GMT
Author: amilas
Date: Sat Mar 29 21:44:54 2008
New Revision: 642680

URL: http://svn.apache.org/viewvc?rev=642680&view=rev
Log:
check for empty string as well

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?rev=642680&r1=642679&r2=642680&view=diff
==============================================================================
--- 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
Sat Mar 29 21:44:54 2008
@@ -253,8 +253,9 @@
                 //mapper namespace
                 for (int i = 0; nsp == null && i < schemalist.size(); i++) {
                     nsp = ((XmlSchema) schemalist.get(i)).getTargetNamespace();
-                    if (nsp != null)
+                    if ((nsp != null) && !nsp.equals("")){
                         break;
+                    }
                     XmlSchema[] schemas = SchemaUtil.getAllSchemas((XmlSchema) schemalist.get(i));
                     for (int j = 0; schemas != null && j < schemas.length; j++)
{
                         nsp = schemas[j].getTargetNamespace();



---------------------------------------------------------------------
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