Re: Comment on "Allow both xs:base64Binary and xs:hexBinary as arguments"

On Wed, 2013-07-03 at 18:07 +0100, Michael Kay wrote:

> bin:hex("CAFEBABE")
> 
> which accepts a string in the lexical space of hexBinary and returns a
> base64Binary value that can be used as input to the functions.

Sensible approach.

Note, call it hextobase64binary or something maybe? In other languages
hex("20") typically returns the integer 32...

-- 
Liam Quin - XML Activity Lead, W3C, http://www.w3.org/People/Quin/
Pictures from old books: http://fromoldbooks.org/
Ankh: irc.sorcery.net irc.gnome.org freenode/#xml

Received on Wednesday, 3 July 2013 18:01:31 UTC