axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ami...@apache.org
Subject svn commit: r580232 - /webservices/axis2/trunk/java/modules/adb-codegen/src/org/apache/axis2/schema/template/ADBBeanTemplate.xsl
Date Fri, 28 Sep 2007 07:12:21 GMT
Author: amilas
Date: Fri Sep 28 00:12:20 2007
New Revision: 580232

URL: http://svn.apache.org/viewvc?rev=580232&view=rev
Log:
fixed the issue Axis2-3227

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

Modified: webservices/axis2/trunk/java/modules/adb-codegen/src/org/apache/axis2/schema/template/ADBBeanTemplate.xsl
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/adb-codegen/src/org/apache/axis2/schema/template/ADBBeanTemplate.xsl?rev=580232&r1=580231&r2=580232&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/adb-codegen/src/org/apache/axis2/schema/template/ADBBeanTemplate.xsl
(original)
+++ webservices/axis2/trunk/java/modules/adb-codegen/src/org/apache/axis2/schema/template/ADBBeanTemplate.xsl
Fri Sep 28 00:12:20 2007
@@ -843,7 +843,7 @@
                     prefix = parentQName.getPrefix();
                     namespace = parentQName.getNamespaceURI();
 
-                    if (namespace != null) {
+                    if ((namespace != null) && (namespace.trim().length()
> 0)) {
                         java.lang.String writerPrefix = xmlWriter.getPrefix(namespace);
                         if (writerPrefix != null) {
                             xmlWriter.writeStartElement(namespace, parentQName.getLocalPart());



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