[ https://issues.apache.org/jira/browse/SYNAPSE-1012?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15304696#comment-15304696 ]
Hiranya Jayathilaka commented on SYNAPSE-1012: ---------------------------------------------- It uses the charset to encode the input string into a byte array. Later the same charset is used to convert the resulting byte array into a string: decodedString = new String(decodedValue, charset).trim(); I don't see what the problem is. > Add Xpath Base64 decode function > -------------------------------- > > Key: SYNAPSE-1012 > URL: https://issues.apache.org/jira/browse/SYNAPSE-1012 > Project: Synapse > Issue Type: Improvement > Reporter: prabath ariyarathna > Assignee: Hiranya Jayathilaka > Fix For: 3.0 > > Attachments: base64_decode_function.diff, remove_unwanted_charset.diff > > > We only have xpath Encode function with the current synapse implementation. > Once this function will be added to the synapse. We can simply decode the > base64 encoded string. -- This message was sent by Atlassian JIRA (v6.3.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@synapse.apache.org For additional commands, e-mail: dev-h...@synapse.apache.org