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 "Samisa Abeysinghe (JIRA)" <ji...@apache.org> on 2006/07/30 11:08:15 UTC
[jira] Updated: (AXIS2C-46) guththila fails if white space at the
beginning of the file
[ http://issues.apache.org/jira/browse/AXIS2C-46?page=all ]
Samisa Abeysinghe updated AXIS2C-46:
------------------------------------
Component/s: guththila
Assignee: Dinesh Premalal
> guththila fails if white space at the beginning of the file
> -----------------------------------------------------------
>
> Key: AXIS2C-46
> URL: http://issues.apache.org/jira/browse/AXIS2C-46
> Project: Axis2-C
> Issue Type: Bug
> Components: guththila
> Environment: windows
> Reporter: Ed Slattery
> Assigned To: Dinesh Premalal
> Priority: Minor
>
> I think the parser should allow whitespace before the first "<"...
> int
> guththila_xml_pull_parser_tokenize (guththila_environment_t * environment,
> guththila_xml_pull_parser_t * parser)
> {
> do
> {
> int c;
> c = guththila_xml_pull_parser_next_char (environment, parser, -1);
> if (c == -1)
> return -1;
> switch (parser->status)
> {
> case S_1:
> /*+*/while (isspace(c))
> /*+*/{
> /*+*/ c = guththila_xml_pull_parser_next_char (environment, parser, -1);
> /*+*/ if (c == -1)
> /*+*/ return -1;
> /*+*/}
> if ('<' == c)
> parser->status = S_2;
> else
> parser->status = S_0;
> break;
--
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