The hessian2 specification has some errors and also some details not explained
felix021 opened this issue · comments
Felix021 commented
Not sure whether I should submit the issue here, but the specification is really confusing.
For example:
-
binary: in the
3. Hessian Grammar
section, 0x41 ('A') represents non-final trunk, while in4.1 binary
, it saysx62 ('b') represents any non-final chunk
-
string: in the
3. Hessian Grammar
section,[x30-x34] <utf8-data>
represents string of length 0~1023, while in4.12. string
, it's[x30-x33] b0 <utf8-data>
, and has no further explanation.
I may add more cases later.
Felix021 commented
- int: in the
3. Hessian Grammar
section, single octet integers have range -0x10 ~ 0x3f, but in4.5.1. Compact: single octet integers
, it's -16 ~ 47 (0x2f)
Felix021 commented
Ignore me. Seems not the right place for reporting problems of the spec.