AXIOM is not correctly encoding all XML special characters when inserted into a 
String (">" not changed to ">"
-----------------------------------------------------------------------------------------------------------------

                 Key: WSCOMMONS-285
                 URL: https://issues.apache.org/jira/browse/WSCOMMONS-285
             Project: WS-Commons
          Issue Type: Bug
          Components: AXIOM
         Environment: Websphere 6.0/Rational Application Developer/Axis2
            Reporter: Wally Dennis
            Priority: Blocker


I need to pass a string containing XML through a web service, preferably using 
Axis2.  When I set the inbound parameter with the string:

<INPUT><SIGN-ON>JohnDoe</SIGN-ON><DATA>12345</DATA></INPUT>

I should get  

&lt;INPUT&gt;&lt;SIGN-ON&gt;JohnDoe&lt;/SIGN-ON&gt;&lt;DATA&gt;12345&lt;/DATA&gt;&lt;/INPUT&gt;
  

Instead, I get 

&lt;INPUT>&lt;SIGN-ON>JohnDoe&lt;/SIGN-ON>&lt;DATA>12345&lt;/DATA>&lt;/INPUT>

It appears to me that Axiom is not correctly changeing the > to a &gt; when it 
is preceeded by a <.  This exact same operation works in the Axis.  We are 
hoping to upgrade from Axis to Axis2, but since most of our web service calls 
involve passing XML strings, we will not be able to until this is resolved.


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