dev@fi.java.net

Re: C.25 again

From: Andrzej Gladkowski <agladkowski_at_gmail.com>
Date: Mon, 11 Jan 2010 20:10:29 +0000

The output fastinfoset stream is compliant with the spec, at lease as far as
I know (tested with independently, in-house made c# encoder implementation).

There was an issue with decoding the number of items in the sequence but
that has been already addressed,
see https://fi.dev.java.net/issues/show_bug.cgi?id=29 for more info.


Cheers,
~Andrzej

On Mon, Jan 11, 2010 at 5:00 PM, Kristian Sons <kristian.sons_at_supporting.com
> wrote:

> Hi!
>
> I am implementing a C++ FI library and I ran into same problems as Arman
> using the Java FI implementation as reference:
>
> >>>> As far as I can see C.25.2 implementation is correct. It doesn't add
> +1
> >>>> when reading 1-64 value range, because in the Java implementation the
> >>>> vocabulary tables are 0 based, so practically adding and subtracting 1
> >>>> while
> >>>> reading/writing is not necessary. The same applies to other ranges. It
> >>>> adds
> >>>> 64 instead of 65 as lower boundary for medium ranged values and 8256
> >>>> instead
> >>>> of 8257 for high ranged values.
>
> So the Java implementation is not standard compliant? That seems strange to
> me, since all the other methods seem to be compliant.
>
> Or did I missed something?
>
> Greetings,
> Kristian
>
>
>
> --
> Supporting GmbH
> Chiemgaustr 62 / 81549 München / Germany
>
> Sitz der Gesellschaft: München
> Handelsregister: Amtsgericht München, HRB 181127
> Geschäftsführung: Kristian Sons
>
> tel +49-89-20327854
> fax +49-89-20327853
> mobile +49-151-50987608
> mail kristian.sons_at_supporting.com
> web http://www.supporting.com
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe_at_fi.dev.java.net
> For additional commands, e-mail: dev-help_at_fi.dev.java.net
>
>