[jira] Updated: (AXIS2C-772) Guththila Parser write extra namespace

2007-11-21 Thread Lahiru Gunathilake (JIRA)

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

Lahiru Gunathilake updated AXIS2C-772:
--

Attachment: patch_file_improved

I did some changes to guththila_xml_writer.c

 Guththila Parser write extra namespace
 --

 Key: AXIS2C-772
 URL: https://issues.apache.org/jira/browse/AXIS2C-772
 Project: Axis2-C
  Issue Type: Bug
  Components: build system (Unix/Linux)
Affects Versions: Current (Nightly)
 Environment: Ubuntu
Reporter: Lahiru Gunathilake
Assignee: Sanjaya Ratnaweera
 Fix For: 1.2.0

 Attachments: patch_file, patch_file_improved


 I did some performance testings using apache benchmark by using Libxml2 and 
 Guththila Parser with the the math sample which ships with apache 
 Axis2c.Response of the math service with Guththila parser is slightly 
 different to the response with Libxml2.With Guththila parser it add Namespace 
 http://www.w3.org/2003/05/soap-envelope; in to soap header and soap body as 
 well. Then the document size is different when using two XML parsers.Here are 
 the two soap response soap messages got with two XML parsers.
 -- with Guththila Parser 
 ---
 soapenv:Envelope 
 xmlns:soapenv=http://www.w3.org/2003/05/soap-envelope;soapenv:Header/soapenv:Headersoapenv:Body
  xmlns:soapenv = http://www.w3.org/2003/05/soap-envelope;ns1:result 
 xmlns:ns1 = 
 http://axis2/test/namespace1;18/ns1:result/soapenv:Body/soapenv:Envelope
 ---
 --with Libxml2 
 Parser--
 soapenv:Envelope 
 xmlns:soapenv=http://www.w3.org/2003/05/soap-envelope;soapenv:Header/soapenv:Bodyns1:result
  
 xmlns:ns1=http://axis2/test/namespace1;18/ns1:result/soapenv:Body/soapenv:Envelope
 -
 This is probably cause to reduce the speed of Guththila parser since it send 
 nearly 78 more bytes of data in the response message with a simple service 
 like math.But with more data still the Guththila Parser is much faster than 
 with Libxml2.

-- 
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[jira] Updated: (AXIS2C-772) Guththila Parser write extra namespace

2007-11-15 Thread Lahiru Gunathilake (JIRA)

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

Lahiru Gunathilake updated AXIS2C-772:
--

Attachment: patch_file

I've change the code of guththila_xml_writer.c now it doesn't add aditional 
namespace to response xml.

 Guththila Parser write extra namespace
 --

 Key: AXIS2C-772
 URL: https://issues.apache.org/jira/browse/AXIS2C-772
 Project: Axis2-C
  Issue Type: Bug
  Components: build system (Unix/Linux)
Affects Versions: Current (Nightly)
 Environment: Ubuntu
Reporter: Lahiru Gunathilake
 Fix For: Current (Nightly)

 Attachments: patch_file


 I did some performance testings using apache benchmark by using Libxml2 and 
 Guththila Parser with the the math sample which ships with apache 
 Axis2c.Response of the math service with Guththila parser is slightly 
 different to the response with Libxml2.With Guththila parser it add Namespace 
 http://www.w3.org/2003/05/soap-envelope; in to soap header and soap body as 
 well. Then the document size is different when using two XML parsers.Here are 
 the two soap response soap messages got with two XML parsers.
 -- with Guththila Parser 
 ---
 soapenv:Envelope 
 xmlns:soapenv=http://www.w3.org/2003/05/soap-envelope;soapenv:Header/soapenv:Headersoapenv:Body
  xmlns:soapenv = http://www.w3.org/2003/05/soap-envelope;ns1:result 
 xmlns:ns1 = 
 http://axis2/test/namespace1;18/ns1:result/soapenv:Body/soapenv:Envelope
 ---
 --with Libxml2 
 Parser--
 soapenv:Envelope 
 xmlns:soapenv=http://www.w3.org/2003/05/soap-envelope;soapenv:Header/soapenv:Bodyns1:result
  
 xmlns:ns1=http://axis2/test/namespace1;18/ns1:result/soapenv:Body/soapenv:Envelope
 -
 This is probably cause to reduce the speed of Guththila parser since it send 
 nearly 78 more bytes of data in the response message with a simple service 
 like math.But with more data still the Guththila Parser is much faster than 
 with Libxml2.

-- 
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]