[ https://issues.apache.org/jira/browse/AXIS2C-1536?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Bill Blough updated AXIS2C-1536: -------------------------------- Labels: patch (was: ) > guththila stucked with empty XML comments > ----------------------------------------- > > Key: AXIS2C-1536 > URL: https://issues.apache.org/jira/browse/AXIS2C-1536 > Project: Axis2-C > Issue Type: Bug > Components: guththila > Affects Versions: 1.6.0 > Environment: Linux > Reporter: Julien Billon > Priority: Critical > Labels: patch > Attachments: guththila_xml_parser.c.diff > > > Guththila can not decode XML messages with empty XML comments like <!----> > (but it works with <!-- -->) > Here is an example of a message I try to decode : > <?xml version=\"1.0\" encoding=\"UTF-8\"?> > <!----> > <soapenv:Envelope xmlns:soapenv=\"http://schemas.xmlsoap.org/soap/envelope/\"> > <soapenv:Header> > <Session>test</Session> > </soapenv:Header> > <soapenv:Body>test</soapenv:Body> > </soapenv:Envelope> > and the stack : > #0 0x00000000005ddb23 in guththila_next_char (m=0x84b340, eof=229, > env=0x84b9e0) at guththila_xml_parser.c:1440 > #1 0x00000000005de9bf in guththila_next (m=0x84b340, env=0x84b9e0) at > guththila_xml_parser.c:898 > #2 0x00000000005dbf1d in guththila_xml_reader_wrapper_next (parser=0x84b2b0, > env=0xe5) at guththila_xml_reader_wrapper.c:405 > #3 0x00000000005cbcc0 in axiom_stax_builder_next_with_token > (om_builder=0x84c140, env=0x84b9e0) at om_stax_builder.c:1114 > #4 0x00000000005d368c in axiom_soap_builder_next (soap_builder=0x84c2b0, > env=0x84b9e0) at soap_builder.c:335 > #5 0x00000000005d3733 in axiom_soap_builder_get_soap_envelope > (soap_builder=0x84c2b0, env=0x84b9e0) at soap_builder.c:277 > #6 0x00000000005d3829 in axiom_soap_builder_create (env=0x84b9e0, > stax_builder=0x84c140, soap_version=0x0) at soap_builder.c:877 -- This message was sent by Atlassian JIRA (v7.6.14#76016) --------------------------------------------------------------------- To unsubscribe, e-mail: c-dev-unsubscr...@axis.apache.org For additional commands, e-mail: c-dev-h...@axis.apache.org