Bad interaction between AXIS2_XML_PARSER_TYPE_BUFFER, axiom_soap_body_has_fault 
and XML escape sequence
-------------------------------------------------------------------------------------------------------

                 Key: AXIS2C-1475
                 URL: https://issues.apache.org/jira/browse/AXIS2C-1475
             Project: Axis2-C
          Issue Type: Bug
          Components: guththila
    Affects Versions: 1.6.0
            Reporter: Sebastien Bigot
             Fix For: 1.7.0


In order to check for soap Fault, I'm using the axiom_soap_body_has_fault with 
an axiom_xml_reader of kind AXIS2_XML_PARSER_TYPE_BUFFER.
If the soap Body contains some XML escape sequences (&, <, ...), since 
the XML sequence escaping is done in place by the 
guththila_token_evaluate_references functioin, the Soap buffer is then 
corrupted.
For example if the soap Body contains
<urlAddress>http://test.net/application?event=callBack&amp;pageid=test&amp;flowId=justification&amp;portletid=test&amp;STATUS=OK</urlAddress>
the buffer then contains:
<urlAddress>http://test.net/application?event=callBack&pageid=test&flowId=justification&portletid=test&STATUS=OKst&amp;STATUS=OK</urlAddress>
which is bad.

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