[ 
https://issues.apache.org/jira/browse/AXIS2C-963?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12567964#action_12567964
 ] 

senakafdo edited comment on AXIS2C-963 at 2/11/08 9:42 PM:
-----------------------------------------------------------------

Hi Bill,

Good job. However, I'm wondering whether this is needed?

I did try it with this payload.

<?xml version="1.0" encoding="UTF-8"?>

<soapenv:Envelope 
xmlns:soapenv="http://www.w3.org/2003/05/soap-envelope";><soapenv:Header></soapenv:Header><soapenv:Body><ns1:echoString
 xmlns:ns1="http://ws.apache.org/axis2/services/echo";><text>Hello 
World!</text></ns1:echoString></soapenv:Body></soapenv:Envelope>

And, I didn't see any failures. Well, I didn't do an svn up when I got this, so 
this is without your fix.

Also, can't we take care of this by setting/re-setting a flag? Because, can we 
be sure that axiom_stax_builder_create_om_text(om_builder, env); returns an 
error only for this scenario?

Regards,
Senaka

      was (Author: senakafdo):
    Hi Bill,

I did try it with this payload.

<?xml version="1.0" encoding="UTF-8"?>

<soapenv:Envelope 
xmlns:soapenv="http://www.w3.org/2003/05/soap-envelope";><soapenv:Header></soapenv:Header><soapenv:Body><ns1:echoString
 xmlns:ns1="http://ws.apache.org/axis2/services/echo";><text>Hello 
World!</text></ns1:echoString></soapenv:Body></soapenv:Envelope>


And, I didn't see any failures. Good job!

However, can't we take care of this by setting/re-setting a flag? Because, can 
we be sure that axiom_stax_builder_create_om_text(om_builder, env); returns an 
error only for this scenario?

Regards,
Senaka
  
> Guththila neglects spacing and formatting between nodes whereas libxml2 
> preserves it.
> -------------------------------------------------------------------------------------
>
>                 Key: AXIS2C-963
>                 URL: https://issues.apache.org/jira/browse/AXIS2C-963
>             Project: Axis2-C
>          Issue Type: Bug
>          Components: guththila, xml/parser
>            Reporter: Senaka Fernando
>            Assignee: Senaka Fernando
>             Fix For: 1.3.0
>
>
> Guththila neglects spacing and formatting between nodes. This behavior 
> contradicts to that of libxml2. Thus, If I open a file then deserialize it 
> and build our OM Model, then print it to the terminal, I have lost the 
> formatting in the file. This is because the parser simply filters out the 
> whitespace. This behavior would make our parsing inconsistent.
> Regards,
> Senaka

-- 
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]

Reply via email to