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 "Ed Slattery (JIRA)" <ji...@apache.org> on 2006/01/30 15:25:34 UTC
[jira] Created: (AXIS2C-45) Guththila ia non-reentrant
Guththila ia non-reentrant
--------------------------
Key: AXIS2C-45
URL: http://issues.apache.org/jira/browse/AXIS2C-45
Project: Axis2-C
Type: Bug
Components: Pull Parser - Guththila
Environment: windows
Reporter: Ed Slattery
Priority: Minor
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
[jira] Commented: (AXIS2C-45) Guththila ia non-reentrant
Posted by "Dinesh Premalal (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/AXIS2C-45?page=comments#action_12365527 ]
Dinesh Premalal commented on AXIS2C-45:
---------------------------------------
applied changes to code , after looking at it lets close this jira
thanks,
Dinesh
> Guththila ia non-reentrant
> --------------------------
>
> Key: AXIS2C-45
> URL: http://issues.apache.org/jira/browse/AXIS2C-45
> Project: Axis2-C
> Type: Bug
> Components: Pull Parser - Guththila
> Environment: windows
> Reporter: Ed Slattery
> Priority: Minor
>
> 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
[jira] Commented: (AXIS2C-45) Guththila ia non-reentrant
Posted by "Ed Slattery (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/AXIS2C-45?page=comments#action_12365537 ]
Ed Slattery commented on AXIS2C-45:
-----------------------------------
I checked this out and tested it - works for me.
> Guththila ia non-reentrant
> --------------------------
>
> Key: AXIS2C-45
> URL: http://issues.apache.org/jira/browse/AXIS2C-45
> Project: Axis2-C
> Type: Bug
> Components: Pull Parser - Guththila
> Environment: windows
> Reporter: Ed Slattery
> Priority: Minor
>
> 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
[jira] Assigned: (AXIS2C-45) Guththila ia non-reentrant
Posted by "Samisa Abeysinghe (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/AXIS2C-45?page=all ]
Samisa Abeysinghe reassigned AXIS2C-45:
---------------------------------------
Assignee: Dinesh Premalal
> 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
>
> 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
[jira] Closed: (AXIS2C-45) Guththila ia non-reentrant
Posted by "Dinesh Premalal (JIRA)" <ji...@apache.org>.
[ 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