PDA

View Full Version : Specification problems


ddrtn
12-18-2009, 12:40 PM
I' m writinng Qt C++ realization of Hessian 2.0.
And I'm found some specigication bags.

Serialization grammar contains:
binary ::= x41 b1 b0 <binary-data> binary # non-final chunk
::= 'B' b1 b0 <binary-data> # final chunk
::= [x20-x2f] <binary-data> # binary data of
# length 0-15
::= [x34-x37] <binary-data> # binary data of
# length 0-1023
but in 4.1
binary ::= b b1 b0 <binary-data> binary
::= B b1 b0 <binary-data>
::= [x20-x2f] <binary-data>

'b' != x41

What bytecode I must use for binary non-final chunk transporting?

nam
12-19-2009, 02:20 PM
According to:

http://hessian.caucho.com/doc/hessian-serialization.html##binary
http://www.caucho.com/resin/doc/hessian-2.0-spec.xtp#binary%20data

'b' is the correct encoding. Where did you see 0x41 so we can fix it?

Thanks.

nam
12-20-2009, 12:49 AM
Nevermind, I see it in http://hessian.caucho.com/doc/hessian-serialization.html.