Advantages are not only in transport and/or XMPP-server, but in
client-side. If client is pure JavaScript, processing XML is pain in the
butt.

And JSON compresses also very well.

-Mika

On Wed, 2010-03-03 at 20:59 +0100, ext Alexander Gnauck wrote:

> Am 28.02.2010 07:06, Earlence Fernandes wrote:
> > I had initially proposed this solution on the Mobile mailing list.
> > They have said that discussions had already taken place on this list.
> > I want to know whether there was any solution etc with regards to the
> > problems faced in a mapping of this type(Eg: JSON does not have namespaces).
> > Would it be technically feasible to have a suitable yet efficient
> > mapping from XML to JSON.
> 
> XML and XMPP supports also mixed content which is not supported in JSON.
> XML compresses very well with stream compression. And CPU usage is very
> low with zlib, so I see no advantages for JSON.
> 
> Regards,
> Alex
> --
> Alexander Gnauck
> http://www.ag-software.de
> xmpp:[email protected]


Reply via email to