Tobiashttp://www.dtic.mil/dtic/tr/fulltext/u2/a518679.pdf (printed page 108) a comparison of XML, gzipped XML and EXIed XML...for those interested
KevInteresting - although I'm not reading far enough to see what their documents are. I suspect that XMPP is at the end of things that gzip very well indeed.
KevI'd be more interested in comparisons for a bunch of XMPP stanzas.
Tobiasand EXI probably also does something to reduce CDATA right?
KevI assume it does something - whether it does anything better than gzip I don't know. I need to look into this stuff.
KevDave Cridland: You're the compression expert. Do you know?
Dave CridlandNot that I'm a compression expert, but as far as I know, EXI without schema knowledge is roughly the same as gzip - it's a binary DOM tree representation, gzipped.
Dave CridlandIt *is*, however, lighter weight to parse.
Dave CridlandIf it's schema-informed, then it can run a lot better (as it essentially uses the schema as an input dictionary, in compression terms).
Dave CridlandSo to summarize - EXI without schema informing isn't interesting in the mainstream, but might now become interesting in the IoT - the processing power in a "device" being now big enough to handle XMPP/EXI. With schema negotiation done right, I think it could prove generally interesting.
KevDoes having a schema make it further easier to parse, or just compress better?