adb generated code doesn't escape xml correctly
-----------------------------------------------
Key: AXIS2C-1341
URL: https://issues.apache.org/jira/browse/AXIS2C-1341
Project: Axis2-C
Issue Type: Bug
Components: code generation
Affects Versions: 1.4.0, Current (Nightly), 1.4.1, 1.5.0, 1.6.0
Reporter: Eric Haszlakiewicz
The foo_serialize() functions generated by the adb-codegen module do not
correctly call axutil_xml_quote_string() in all necessary cases. This causes
requests that contain characters such as '<', etc... to fail due to malformed
xml.
The attached patch corrects this for one particular case that was causing
problems for me.
I can't tell for sure, but it looks like there are almost certainly other cases
that needs to be escaped as well. Either this issue should remain open until
those are fixed, even after my patch is applied, or I can create a new issue.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.