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 "Michal Kulczewski (JIRA)" <ji...@apache.org> on 2008/01/18 16:49:34 UTC

[jira] Updated: (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 ]

Michal Kulczewski updated AXIS2C-918:
-------------------------------------

    Description: There is an error while compiling generated code which contains axutil_uri_t usage, because of too many closing brackets presence.   (was: There is an error while compiling generated code which contains axutil_uri_t usage, because of too many closing brackets presence. 

--- CADBBeanTemplateSource.xsl  Tue Jan  8 05:40:14 2008
+++ CADBBeanTemplateSourceModified.xsl  Fri Jan 18 16:19:52 2008
@@ -3019,7 +3019,7 @@
                            string_to_stream = (axis2_char_t*) AXIS2_MALLOC (env-> allocator, sizeof (axis2_char_t) *
                                                             (5  + ADB_DEFAULT_NAMESPACE_PREFIX_LIMIT) +
                                                              axutil_strlen(text_value) +
-                                                             axutil_strlen("<xsl:value-of select="$propertyName"/>")));
+                                                             axutil_strlen("<xsl:value-of select="$propertyName"/>"));
                            sprintf(string_to_stream, " %s%s%s=\"%s\"", p_prefix?p_prefix:"", (p_prefix &amp;&amp; axutil_strcmp(p_prefix, ""))?":":"",
                                                 "<xsl:value-of select="$propertyName"/>",  text_value);
                            axutil_stream_write(stream, env, string_to_stream, axutil_strlen(string_to_stream));
)

attached you will find apropriate diff

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