$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
From: Aaron W. LaFramboise (aaronrabiddog51_at_[hidden])
Date: 2007-07-13 15:34:55
What about SAX API?  In the past, most of the time when I wanted to 
parse XML, I've actually wanted something closer to SAX, not DOM.
(However, I don't think SAX is really appropriate for C++, because of 
the way it eats control flow.  You can't, for example, pause a SAX parse 
mid-parse, exit the SAX context, and come back to it later.  SAX, in 
essence, either dominates your application's control flow, unacceptable 
in GUI, or requires multithreading.)
A stream-based XML reader would be even more welcome to me than the 
DOM-based API.  One could also argue that stream-based processing is 
more in the tradition of C++.  Full validation would also be a major 
plus, as most stream-based XML readers don't completely validate.