|
|
|
|
|
by magicalhippo
485 days ago
|
|
SAX parsers should have no issue with that, or? So is the pain that you're forced to use SAX parsing or roll your own? 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.