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

On 4 Jul 2013, at 13:25, Liam R E Quin wrote:

> On Thu, 2013-07-04 at 10:38 +0100, Michael Kay wrote:
> 
>> Rule (B) might be preferable for use cases where we want to supply a binary value as a literal: for example
>> 
>> bin:find($in, "A0A0A0A0")
> 
> An alternative there might be to allow hex constants, e.g. 0xa0a0a0a0.

If we were able to extend the grammar, yes, But I think we've got to live within the constraints of a function library.

Michael Kay
Saxonica

Received on Thursday, 4 July 2013 13:04:50 UTC