[ 
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to