Re: [libxml++] SIGABRT received during xmlpp::Document::write_to_string_formatted
- From: Murray Cumming <murrayc murrayc com>
- To: libxml++ <libxmlplusplus-general lists sourceforge net>
- Cc: Cyril PICARD <cyril picard-mail laposte net>
- Subject: Re: [libxml++] SIGABRT received during xmlpp::Document::write_to_string_formatted
- Date: Thu, 10 Feb 2005 12:51:08 +0100
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]