Oh, but people don't like XML.
XML means xmpp is awful apparently. I feel pretty alone in having a bad experience with matrix, but a good one with xmpp+omemo.
XML means xmpp is awful apparently. I feel pretty alone in having a bad experience with matrix, but a good one with xmpp+omemo.
At least the SAX parsers I've used allowed to get partial "subnode DOMs", which makes it quite easy to use in practice.
That said I've only parsed ~1GB XML files (no embedded binaries), not sure if that counts as large enough.
Sure, sax parsers have their limitations, but there are sax parsers that avoid the callback trouble by doing a tree-style fold over the XML structure instead of the linear fold over the XML stream. Not for the server, since it is not super efficient, but writing a client like that is easy peasy.