[Standards] LAST CALL: XEP-0357 (Push Notifications)
pep at bouah.net
Tue Apr 7 23:48:24 UTC 2020
On 2020/04/07, Andrzej Wojcik wrote:
> > However, can we please stop with JSON encoding in XML "because it's
> > smaller". That claim is not true i all cases (not even most) and also
> > not in your specific case:
> And representation may be smaller in XML unless someone will use characters which
> need to be escaped or until someone will put XMLNS on top of this element.
"xmlns" is not just some random keyword people add because they fancy
it. It's a namespace declaration and namespaces are not reserved to XML.
Any JSON payload could also be namespaced with some fancy rules that
people would come up with, and surprise! they did! 
Sorry I'm also tired of hearing JSON this JSON that supported by all
these biased and unfair comparisons..
Maxime “pep” Buquet
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 833 bytes
Desc: not available
More information about the Standards