[ 
https://issues.apache.org/jira/browse/AXIS2C-1119?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12591948#action_12591948
 ] 

Dimuthu Gamage commented on AXIS2C-1119:
----------------------------------------

Hi supun,

The logic re-allocates the memory. but doesn't copy the new token. i.e  the 
following logic was missing

                namesp->name[namesp->no] =
                    guththila_tok_list_get_token(&wr->tok_list, env);
                namesp->uri[namesp->no] =
                    guththila_tok_list_get_token(&wr->tok_list, env);

We are testing the fix with the samples.

Thanks
Dimuthu


> Guththila fails handling more than 4 namespaces
> -----------------------------------------------
>
>                 Key: AXIS2C-1119
>                 URL: https://issues.apache.org/jira/browse/AXIS2C-1119
>             Project: Axis2-C
>          Issue Type: Bug
>          Components: guththila
>         Environment: Linux + windows
>            Reporter: Dimuthu Gamage
>
> Guththila fails handling more than 4 namespaces in an element. The number 4 
> is declared here,
> guththila_xml_writer.h:#define GUTHTHILA_XML_WRITER_NAMESP_DEF_SIZE 4
> Guththila should be fixed to adjust  the allocated buffer for the namespaces 
> dynamically.

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