You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-dev@axis.apache.org by "Dimuthu Gamage (JIRA)" <ji...@apache.org> on 2008/01/19 03:24:34 UTC

[jira] Resolved: (AXIS2C-918) generated axutil_uri_t code compilation error

     [ https://issues.apache.org/jira/browse/AXIS2C-918?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Dimuthu Gamage resolved AXIS2C-918.
-----------------------------------

    Resolution: Fixed

 Hi Michal,

The corrected fix should be something like following,

       <xsl:when test="$nativePropertyType='axutil_uri_t*'">
                            text_value = axutil_uri_to_string(<xsl:value-of select="$propertyInstanceName"/>, env, AXIS2_URI_UNP_OMITUSERINFO);
                            string_to_stream = (axis2_char_t*) AXIS2_MALLOC (env-> allocator, sizeof (axis2_char_t) *
-                                                            (5  + ADB_DEFAULT_NAMESPACE_PREFIX_LIMIT) +
+                                                            (5  + ADB_DEFAULT_NAMESPACE_PREFIX_LIMIT +
                                                              axutil_strlen(text_value) + 
                                                              axutil_strlen("<xsl:value-of select="$propertyName"/>")));

Anyway thanks very much for showing the bug. I commit the fix to the SVN

> generated axutil_uri_t code compilation error
> ---------------------------------------------
>
>                 Key: AXIS2C-918
>                 URL: https://issues.apache.org/jira/browse/AXIS2C-918
>             Project: Axis2-C
>          Issue Type: Bug
>          Components: code generation
>    Affects Versions: Current (Nightly)
>            Reporter: Michal Kulczewski
>         Attachments: CADBBeanTemplateSource.diff
>
>
> There is an error while compiling generated code which contains axutil_uri_t usage, because of too many closing brackets presence. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-c-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-c-dev-help@ws.apache.org