[xml] Re: gnome-xml bug? xmlSaveFile writes tree twice

Date view Thread view Subject view Author view

From: Peter Teichman (pat4@acpub.duke.edu)
Date: Mon May 10 1999 - 19:39:18 EDT


On Mon, May 10, 1999 at 02:40:39PM -0400, Daniel Veillard wrote:
> On Mon, May 10, 1999 at 02:08:26AM -0400, Peter Teichman wrote:
> > This appears to be a bug in gnome-xml, found in the current version from
> > gnome cvs. The xmlSaveFile function is calling xmlDocContentDump twice for
> > the same data, resulting in an output file with two copies of that data. It
> > does *not* enjoy trying to load that file back in. ;)
>
> Really strange, does this mean that "make test" breaks ?

'make tests'? It doesn't look like 'test' is a target.

I don't know what this should look like, but there is a *lot* of diff
output, along with a couple of errors. I don't see anything in the output
that looks like it is related to my problem, though.

> > The fix looked trivial to me, though I may be ignorant of some issues.
> > Removing one of the calls seemed to make things work for me.
>
> I'm on the road and checking this is a bit difficult,
> I will try to look at this ASAP,

No problem - I have it working for my purposes.

Peter

----
Message from the list xml@rufus.w3.org
Archived at : http://rufus.w3.org/veillard/XML/messages
to unsubscribe: echo "unsubscribe xml" | mail  majordomo@rufus.w3.org


Date view Thread view Subject view Author view

This archive was generated by hypermail 2b29 : Wed Aug 02 2000 - 12:29:26 EDT