axis-c-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dinesh Premalal (JIRA)" <j...@apache.org>
Subject [jira] Closed: (AXIS2C-45) Guththila ia non-reentrant
Date Tue, 08 Aug 2006 06:51:16 GMT
     [ http://issues.apache.org/jira/browse/AXIS2C-45?page=all ]

Dinesh Premalal closed AXIS2C-45.
---------------------------------

    Fix Version/s: Current (Nightly)
       Resolution: Fixed

This issue is fixed 

> Guththila ia non-reentrant
> --------------------------
>
>                 Key: AXIS2C-45
>                 URL: http://issues.apache.org/jira/browse/AXIS2C-45
>             Project: Axis2-C
>          Issue Type: Bug
>          Components: guththila
>         Environment: windows
>            Reporter: Ed Slattery
>         Assigned To: Dinesh Premalal
>            Priority: Minor
>             Fix For: Current (Nightly)
>
>
> The guththila parser seems to be non-reentrant, as there is a global location for the
current message. I have a wsdl which includes an
> XSD, and I parse both using two parsers. The inner one fails as it thinks the current
message is whatever the outer one was parsing.
> This can be fixed by moving the mesage into the parser struct:
> /*- enum guththila_event_types guththila_event; */
> typedef struct guththila_xml_pull_parser_s
> {
>     guththila_buffer_t *buffer;
>     guththila_reader_t *reader;
>     guththila_token_t *prefix;
>     guththila_token_t *name;
>     guththila_token_t *value;
>     guththila_stack_t *stack;
>     guththila_stack_t *attrib;
>     guththila_stack_t *namesp;
>     guththila_stack_t *dep;
>     int _next;
>     int offset;
>     int last;
>     int unicode_state;
>     enum guththila_status status;
>     /*+*/ enum guththila_event_types guththila_event;
> } guththila_xml_pull_parser_t;
> Plus replace all occurences of guththila_event with parser->guthtila_event.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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


Mime
View raw message