[ http://issues.apache.org/jira/browse/AXIS2C-46?page=comments#action_12365541 ]
Ed Slattery commented on AXIS2C-46: ----------------------------------- Applied a fix for this > 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 > Type: Bug > Environment: windows > Reporter: Ed Slattery > 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
