On 4.7.2013 15:50, Florent Georges wrote:
> Mmh, OK. So that means that if someone passes a hex to a function,
> say bin:binary-subsequence(), he/she will receive a base64 instead.
> Looks pretty weird to me.
You don't care what binary type was returned until you need to serialize
it and serialization should be always explicit to prevent hard to catch
errors.
Jirka
--
------------------------------------------------------------------
Jirka Kosek e-mail: jirka@kosek.cz http://xmlguru.cz
------------------------------------------------------------------
Professional XML consulting and training services
DocBook customization, custom XSLT/XSL-FO document processing
------------------------------------------------------------------
OASIS DocBook TC member, W3C Invited Expert, ISO JTC1/SC34 rep.
------------------------------------------------------------------
Bringing you XML Prague conference http://xmlprague.cz
------------------------------------------------------------------