You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-dev@axis.apache.org by "Senaka Fernando (JIRA)" <ji...@apache.org> on 2008/02/12 06:38:07 UTC

[jira] Commented: (AXIS2C-963) Guththila neglects spacing and formatting between nodes whereas libxml2 preserves it.

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

Senaka Fernando commented on AXIS2C-963:
----------------------------------------

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: axis-c-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-c-dev-help@ws.apache.org