qpid-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Carl Trieloff <cctriel...@redhat.com>
Subject Re: XML longstr mapping
Date Wed, 03 Jan 2007 22:34:34 GMT
Alan Conway wrote:
> On Wed, 2006-12-20 at 19:14 +0000, Robert Greig wrote:
>> On 20/12/06, Kim van der Riet <kim.vdriet@redhat.com> wrote:
>>> Ok, will do - byte[] it is.
>>> Perhaps we should change the term "longstr" in the spec to "binary" or
>>> something similar. It would be less confusing.
>> I fully agree. I tried arguing this point in the past without any
>> success. I think the argument was "C programmers think of strings as
>> byte arrays"...
> +1, longstr is misleading and it is entirely unfair to blame C
> programmers! The type in question is a length-prefixed byte array. There
> are no guarantees in the spec about being able to treat it as any type
> of string. 
> I did a quick search and couldn't find a formal definition for longstr
> in the spec - I must be blind, where is it?
> Cheers,
> Alan.

Just checked, there is no doc - so we should take to the working group 
to fix. I also agree we
should rename it. If we are in agreement we should cross post it to the 
AMQP working group

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message