Re: [libxml++] SIGABRT received during xmlpp::Document::write_to_string_formatted



On Mon, 2005-02-07 at 23:15 +0100, Murray Cumming wrote:
> Could you try this instead, please:
> 
> // Here we force the use of Glib::ustring::ustring( InputIterator begin,
> InputIterator end )
> // instead of Glib::ustring::ustring( const char*, size_type ) because
> it
> // expects the length of the string in characters, not in bytes.
> Glib::ustring result( reinterpret_cast<const char *>(buffer),
> reinterpret_cast<const char *>(buffer + length) );

Did that work?

-- 
Murray Cumming
murrayc murrayc com
www.murrayc.com
www.openismus.com





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]