[Xml-compile] base64 builtin type
Keywan Ghadami
k.ghadami at ibson.com
Thu Jul 5 14:59:18 GMT 2012
Hello
i am new on this list,
i am using xml:compile for soap and run into a issue with base64 encoded data,
it adds a newline to base64 encoded data (see also http://www.perlmonks.org/?node_id=660422 for details):
so changed the code in XML::Compile::Schema::BuiltInTypes Version 1.25 In Line 304
from:
, format => sub { eval { encode_base64 $_[0] } }
to:
, format => sub { eval { encode_base64 $_[0],'' } }
and i got it working.
hopfully this helps someone, or someone can get this small patch into the code base.
best regards
Keywan Ghadami
More information about the Xml-compile
mailing list