Re: [xml] xmlDocDumpMemory and xmlParseMemory

Date view Thread view Subject view Author view

From: Matthew Kellett (matthewk@rebel.com)
Date: Wed Nov 08 2000 - 13:22:12 EST


Yes. It works perfectly.

I changed it to
         xmlNodeDump(buf, cur, child, 0, 0);

and commented out the next line.
/* xmlBufferWriteChar(buf, '\n');*/

I'm sorry I don't have a patch to give you. Is it possible to get this
into 2.2.8?

Cheers,
Matthew

At 12:15 PM 2000/11/08, you wrote:

>On Wed, Nov 08, 2000 at 11:50:33AM -0500, Matthew Kellett wrote:
> >
> > Sorry, I should have mentioned that.
> >
> > I was using libxml 2.2.2 and have moved to libxml 2.2.7, with no effect.
> >
> > I do not use xmlKeepBlanksDefault() anywhere in my code.
> >
> > I've walked through the functions used by xmlDocDumpMemory and there seems
> > to be an explicit addition of carriage returns in each one. The
> > xmlDumpNode* functions seem to have a switch for formatting but it isn't
> > brought out to the level of xmlDocContentDump() or xmlDocDumpMemory() It
> > would be nice to have a switch to turn this formatting off.
>
>Is changing
>
>xmlNodeDump(buf, cur, child, 0, 0);
>
>by
>
>xmlNodeDump(buf, cur, child, 0, 1);
>
>in xmlDocContentDump() while loop enough to fix your problem ?
>
>Daniel
>
>--
>Daniel.Veillard@w3.org | W3C, INRIA Rhone-Alpes | libxml Gnome XML toolkit
>Tel : +33 476 615 257 | 655, avenue de l'Europe | http://xmlsoft.org/
>Fax : +33 476 615 207 | 38330 Montbonnot FRANCE | Rpmfind search site
> http://www.w3.org/People/all#veillard%40w3.org | http://rpmfind.net/
>----
>Message from the list xml@rpmfind.net
>Archived at : http://xmlsoft.org/messages/
>to unsubscribe: echo "unsubscribe xml" | mail majordomo@rpmfind.net

----
Message from the list xml@rpmfind.net
Archived at : http://xmlsoft.org/messages/
to unsubscribe: echo "unsubscribe xml" | mail  majordomo@rpmfind.net


Date view Thread view Subject view Author view

This archive was generated by hypermail 2b29 : Wed Nov 08 2000 - 13:44:40 EST