Menu

#202 XML Encoding a trailing escape sequence drops a character

2.2
open
None
5
2013-10-30
2013-10-30
James Agnew
No

Per an email from Ioan Salau


We currently use HAPI 2.1 to transform PIPE format to/from XML format for OLIS Query transactions. One of the OLIS Query Response contains a text value that has on the last position \E\ (escaped backslash). When I use XMLParser to encode a message, the backslash is lost for the XML content. If the \E\ is not in last position, even a space character after \E\, the backsplash is present in XML.

Is this a HAPI issue or is something that I have to configure in order to handle properly \E\ as last character for a text value?

Discussion


Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.