Re: [xml] Bug in xmlElemDump?

Date view Thread view Subject view Author view

From: Daniel Veillard (Daniel.Veillard@imag.fr)
Date: Fri Jan 05 2001 - 16:46:56 EST


On Fri, Jan 05, 2001 at 04:31:10PM -0500, James LewisMoss wrote:
> xmlDocDump(stdout, doc);
> printf("\n\n");
> xmlElemDump(stdout, doc, doc->root);
> close(fd);
[snip]
> <foobar version="1">
> <bar/>
> <baz>This is some content<b>Or not<f/></b>blah</baz>
>
> ----------------------------------------------------------------------
> There seems to be a missing </foobar> in the second bit output by
> xmlElemDump. Am I missing something?

  maybe the fact that the shell prompt overrided it because you
forgot to add a printf("\n\n"); after xmlElemDump()...

Daniel

-- 
Daniel Veillard      | Red Hat Network http://redhat.com/products/network/
daniel@veillard.com  | libxml Gnome XML toolkit  http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine 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


Date view Thread view Subject view Author view

This archive was generated by hypermail 2b29 : Fri Jan 05 2001 - 17:43:37 EST