axis-c-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lahiru Gunathilake (JIRA)" <j...@apache.org>
Subject [jira] Updated: (AXIS2C-764) Wrong xml write in guththila parser
Date Mon, 26 Nov 2007 05:43:43 GMT

     [ https://issues.apache.org/jira/browse/AXIS2C-764?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Lahiru Gunathilake updated AXIS2C-764:
--------------------------------------

    Attachment: patch_raw_xml

I've change the guththila_write_to_buffer method which is now specific for  axiom_xml_writer_write_raw
method.

> Wrong xml write in guththila parser
> -----------------------------------
>
>                 Key: AXIS2C-764
>                 URL: https://issues.apache.org/jira/browse/AXIS2C-764
>             Project: Axis2-C
>          Issue Type: Bug
>          Components: guththila
>    Affects Versions: Current (Nightly)
>         Environment: ubuntu
>            Reporter: Lahiru Gunathilake
>            Assignee: Dinesh Premalal
>            Priority: Minor
>             Fix For: 1.2.0
>
>         Attachments: patch_raw_xml
>
>
> 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>
> ----------------------------------------------------------------------------------------------------------------------------------------------------

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-c-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-c-dev-help@ws.apache.org


Mime
View raw message