Index: boost/archive/impl/xml_woarchive_impl.ipp =================================================================== --- boost/archive/impl/xml_woarchive_impl.ipp (revision 1149) +++ boost/archive/impl/xml_woarchive_impl.ipp (working copy) @@ -101,7 +101,6 @@ template BOOST_WARCHIVE_DECL void xml_woarchive_impl::save(const wchar_t * ws){ - os << ws; typedef iterators::xml_escape xmbtows; std::copy( xmbtows(ws), @@ -141,7 +140,7 @@ if(std::uncaught_exception()) return; if(0 == (this->get_flags() & no_header)){ - save(L"\n"); + this->windup(); } }