Uploaded image for project: 'Axis2-C'
  1. Axis2-C
  2. AXIS2C-764

Wrong xml write in guththila parser

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 1.2.0
    • guththila
    • None
    • ubuntu

    Description

      When test some test service with axis2c build with guththila parser I get some wrong output xml from axis.Here's my input xml and out put xml.After building axis2c with libxml2 out put xml is Ok.
      With guththila parser what happened is it doesn't put the closing tag ">" in correct place
      for tag <ns1:echoDoublesResponse xmlns:ns1="http://www.extreme.indiana.edu/wsdl/Benchmark1"
      ----------------------------------------
      Input xml
      ----------------------------------------
      <?xml version='1.0' encoding='utf-8'?>
      <soapenv:Envelope xmlns:soapenv="http://www.w3.org/2003/05/soap-envelope">
      <soapenv:Header />
      <soapenv:Body>
      <ns1:echoDoubles xmlns:ns1="http://www.extreme.indiana.edu/wsdl/Benchmark1">
      <ns1:input>0.0</ns1:input>
      </ns1:echoDoubles>
      </soapenv:Body>
      </soapenv:Envelope>
      -------------------------------------------------------------------------------------------------------------------------------------------------
      ----------------------------------------
      output xml with guththila parser
      ----------------------------------------
      <soapenv:Envelope xmlns:soapenv="http://www.w3.org/2003/05/soap-envelope">
      <soapenv:Header></soapenv:Header>
      <soapenv:Body xmlns:soapenv="http://www.w3.org/2003/05/soap-envelope">
      <ns1:echoDoublesResponse xmlns:ns1="http://www.extreme.indiana.edu/wsdl/Benchmark1"
      <ns1:echoDoublesReturn>0.000000</ns1:echoDoublesReturn>>
      </ns1:echoDoublesResponse>
      </soapenv:Body></soapenv:Envelope>
      ----------------------------------------------------------------------------------
      output xml with libxml2
      -----------------------------------------------------------------------------------
      <soapenv:Envelope xmlns:soapenv="http://www.w3.org/2003/05/soap-envelope">
      <soapenv:Header/>
      <soapenv:Body>
      <ns1:echoDoublesResponse xmlns:ns1="http://www.extreme.indiana.edu/wsdl/Benchmark1">
      <ns1:echoDoublesReturn>0.000000</ns1:echoDoublesReturn>
      </ns1:echoDoublesResponse>
      </soapenv:Body></soapenv:Envelope>
      ----------------------------------------------------------------------------------------------------------------------------------------------------

      Attachments

        1. patch_raw_xml
          1 kB
          Lahiru Gunathilake

        Activity

          People

            pini Sanjaya Ratnaweera
            lahiru Lahiru Gunathilake
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: