Boost logo

Boost Users :

Subject: Re: [Boost-users] [serialization] skipping top node "<boost_serialization signature...>"
From: Matthias Troyer (troyer_at_[hidden])
Date: 2009-08-27 01:27:43


On Aug 26, 2009, at 7:15 PM, Sebastian Mach wrote:

> Passing boost::archive::no_header as the second parameter to
> xml_oarchive() yields the following file for given test:
>
>
> <picogen-qt-scene class_id="0" tracking_level="0" version="0">
> <comment>hello world!</comment>
> <fenum>two</fenum>
> </picogen-qt-scene>
>
>
> Unfortunately, "<?xml version="1.0" encoding="UTF-8"
> standalone="yes" ?>" is now missing, too.

Can't you just write this to the file yourself?
>
> For now, I am really not sure if I will use this part of boost,
> though I admit the overall greatness of it.


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net