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. 

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


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