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

Andreas Veithen resolved WSCOMMONS-243.
---------------------------------------

    Resolution: Won't Fix
      Assignee: Andreas Veithen

I tried to reproduce the issue described here. What actually happens is that an 
"\r\n" sequence in a text node is serialized as "
\n". The recipient will 
then deserialize this character data into "\r\n". This behavior is perfectly 
compatible with the XML specification. It should be noted that it is actually 
the underlying StAX implementation, not Axiom, that decides how "\r\n" will be 
serialized. The behavior described here (i.e. serialize it as "
\n") is the 
default in Woodstox. If you require "\r\n" to be serialized as "\r\n", you 
might want to have a look at the following Woodstox issue:

http://jira.codehaus.org/browse/WSTX-94


> "\r\n" handled different by Axis and Axis2
> ------------------------------------------
>
>                 Key: WSCOMMONS-243
>                 URL: https://issues.apache.org/jira/browse/WSCOMMONS-243
>             Project: WS-Commons
>          Issue Type: Bug
>          Components: AXIOM
>         Environment: Java 1.5, Tomcat 5.5.20, Axis 1.2.1 and Axis2 1.3
>            Reporter: Pär Malmqvist
>            Assignee: Andreas Veithen
>
> When I transport a string including "\r\n" over SOAP and Axis 1.2 from a 
> server to a client the client receives a string including "\n" only. 
> When I transport a string including "\r\n" over SOAP and Axis2 1.3 from a 
> server to a client the client receives a string including "\r\n". 

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

Reply via email to