Re: [libxml++] SIGABRT received during xmlpp::Document::write_to_string_formatted
- From: Cyril PICARD <cyril picard-mail laposte net>
- To: libxmlplusplus-general lists sourceforge net
- Subject: Re: [libxml++] SIGABRT received during xmlpp::Document::write_to_string_formatted
- Date: Thu, 10 Feb 2005 21:15:43 +0100
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?
] [Thread Prev