Are there alternatives to expat for stream-oriented XML parsing in C++? The data that I am dealing with arrives over a TCP connection and there are multiple XML documents to deal with, which means I have to reset the XML parser every time there is a new document. The parser doesn't need to be standards-compliant; I'm interested in being able to parse the XML syntax using a callback-oriented process, rather than conforming to a particular schema.
I'm not sure, but you may have a point there. :-)
Gianni
2010-08-05 21:24:31
Test-driving Xerces-C++ right now. The API is nice, but I'm not sure whether it will support the kind of streaming that happens over a TCP connection, where I'll receive chunks of data, and many documents and need to reset the XML parsing without losing the spot in the buffer where it left off.
Kenny Peng
2010-08-05 21:37:40