[Xml-compile] Automatic (unobtrusive) handling of Base64
Mark Overmeer
mark at overmeer.net
Wed Jan 25 11:50:09 GMT 2012
* Michael Ludwig (m.ludwig at epages.com) [120125 10:13]:
> XML::Compile will automatically handle XML Schema types for you.
> For instance, a float supplied to a field defined as xsd:integer
> will be converted to an integer; and data supplied to a field
> defined as xsd::base64Binary will be encoded as Base64, so don't
> do the conversion yourself, you'll get double encoding! :)
Added to ::BuildInTypes:
XML::Compile will automatically format the value for you. For instance,
a float supplied to a field defined as type Integer will be converted
to an integer. Data supplied to a field of type base64Binary will be
encoded as Base64 for you: you shouldn't do the conversion yourself,
you'll get double encoding!
--
Ok?
MarkOv
------------------------------------------------------------------------
Mark Overmeer MSc MARKOV Solutions
Mark at Overmeer.net solutions at overmeer.net
http://Mark.Overmeer.net http://solutions.overmeer.net
More information about the Xml-compile
mailing list