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

Yes, it works fine. Can you use this implementation in libxml++ ?

Excuse me for the delay, I'm quite busy those days.

Regarding the output on std::cout, you're certainly right. I will check with glibmm folks.

Thanks for your help !

Murray Cumming a écrit :
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
// 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?

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