module ActiveSupport::XmlMini

def _parse_binary(bin, entity) #:nodoc:

:nodoc:
TODO: Add support for other encodings
def _parse_binary(bin, entity) #:nodoc:
  case entity['encoding']
  when 'base64'
    ::Base64.decode64(bin)
  else
    bin
  end
end