axis-c-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hengli Wang (Created) (JIRA)" <>
Subject [jira] [Created] (AXIS2C-1575) Generated code has undefined variables qname_uri and qname_prefix
Date Wed, 11 Jan 2012 18:31:38 GMT
Generated code has undefined variables qname_uri and qname_prefix

                 Key: AXIS2C-1575
             Project: Axis2-C
          Issue Type: Bug
          Components: wsdl2c tool
    Affects Versions: 1.6.0
            Reporter: Hengli Wang

In CADBBeanTemplateSource.xsl,the serialize_obj code defines qname_uri and qname_prefix only
for non-simple types

        axiom_node_t* AXIS2_CALL
        <xsl:value-of select="$axis2_name"/>_serialize_obj(
         <!--now distinguise the properties specific to simple types -->
           <xsl:when test="@simple">

           <!-- non simple types -->
                axiom_namespace_t *ns1 = NULL;

                axis2_char_t *qname_uri = NULL;
                axis2_char_t *qname_prefix = NULL;

But later, they are used for simple types,
                      <!-- here only simple type possible -->
                      <!-- ADB_DEFAULT_DIGIT_LIMIT (64) bytes is used to the store the
string representation of the number and the namespace prefix + ":" -->
                        <!-- add axutil_qname_t s -->
                        <xsl:when test="$nativePropertyType='axutil_qname_t*'">
                           qname_uri =  axutil_qname_get_uri(<xsl:value-of select="$propertyInstanceName"/>,

And the generated code now has undefined qname_uri and qname_prefix.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:!default.jspa
For more information on JIRA, see:


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message