
On Wed, Jun 29, 2011 at 2:40 AM, Mathias Gaunard <mathias.gaunard@ens-lyon.org> wrote:
On 06/28/2011 01:17 PM, Sebastian Karlsson wrote:
Secondly an XML parser / writer can be written to a very high quality using the libraries already present in boost ( spirit& iostreams comes to mind )
A spirit-based XML parser doesn't seem that great.
If using semantic actions, it would necessarily be SAX-like. If using attributes, it would be like the DOM, and you would have to be careful not to copy everywhere.
I didn't get a chance to read this before my last post. These are some good points.
My impression was that Pull-like interfaces -- lazy parsing of XML as it is being iterated -- were more popular.
This couldn't be accomplished with Spirit? That sounds like a challenge...
_______________________________________________ Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost