From: Daniel Veillard (Daniel.Veillard@w3.org)
Date: Mon Dec 04 2000 - 15:36:30 EST
On Mon, Dec 04, 2000 at 03:06:28PM -0500, Harry Blundell wrote:
>
> Hi folks,
>
> I just upgraded from 2.2.6 to 2.2.10, and now when I read in and save an
> XML document, I get back a document where the XML is all on one line.
> Previously, it had some newlines in there, which was more readable.
>
> I found a dialog between Matthew Kellett and Daniel in the archive, where
> it was decided that the xmlDocDumpMemory function should no longer add
> newlines when dumping a document into a buffer, for 2.2.8. I suspect
> that this is what has changed.
>
> Using whitespace in my input document and trying to preserve it with the
> xmlKeepBlanksDefault function doesn't help because none of my elements
> have mixed content, so the areBlanks function always returns 1.
>
> Is there a way to format the output XML in the current version?
Hum, I'm not testing well the memory I/O interfaces, it seems
I should work more on this. I will look at it. I don't see an easy
way to get this changed right now except by rolling back the
changes applied. xmlKeepBlanksDefault is set by default in libxml2
so I assume it's not directly related.
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
This archive was generated by hypermail 2b29 : Mon Dec 04 2000 - 15:43:42 EST