You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by di...@apache.org on 2009/06/26 04:09:37 UTC

svn commit: r788562 - /webservices/axis2/trunk/java/modules/adb-codegen/src/org/apache/axis2/schema/template/CADBBeanTemplateSource.xsl

Author: dimuthu
Date: Fri Jun 26 02:09:37 2009
New Revision: 788562

URL: http://svn.apache.org/viewvc?rev=788562&view=rev
Log:
fixed for https://issues.apache.org/jira/browse/AXIS2C-1380

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

Modified: webservices/axis2/trunk/java/modules/adb-codegen/src/org/apache/axis2/schema/template/CADBBeanTemplateSource.xsl
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/adb-codegen/src/org/apache/axis2/schema/template/CADBBeanTemplateSource.xsl?rev=788562&r1=788561&r2=788562&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/adb-codegen/src/org/apache/axis2/schema/template/CADBBeanTemplateSource.xsl (original)
+++ webservices/axis2/trunk/java/modules/adb-codegen/src/org/apache/axis2/schema/template/CADBBeanTemplateSource.xsl Fri Jun 26 02:09:37 2009
@@ -1067,8 +1067,8 @@
                 else
                 {
                     axiom_node_t *text_node = NULL;
-                    text_node = axiom_node_get_first_child(parent, env);
                     axiom_text_t *text_element = NULL;
+                    text_node = axiom_node_get_first_child(parent, env);
                     if (text_node &&
                             axiom_node_get_node_type(text_node, env) == AXIOM_TEXT)
                         text_element = (axiom_text_t*)axiom_node_get_data_element(text_node, env);