Boost logo

Boost :

From: Cédric Naniot (cedric.naniot_at_[hidden])
Date: 2003-08-29 09:36:43


On Sat, 23 Aug 2003 00:05:38 +0200, Wojtek Surowka wrote:

> I've just uploaded the preliminary version of my XML library to Yahoo files
> section as xml_library.zip. Comments are welcome.

As an exercice and to evaluate your API, I wrote read_iterator using the
XmlReader API of libxml (see the attachment).

Shoudn't the attributes stored in a map instead of vector?

I fixed begin() like this:
   MyType begin() const
   {
       assert(impl);
       if ( impl->p_body )
       {
           return *impl->p_body;
       }
       else
       {
           return MyType();
       }
    }
bacause it was 'asserting' on empty elements.

Well, I find the API quite good, and realy better than the sax one.

Cédric.



Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk