[xml] problem in using xmlAddChildList - need help

2008-02-13 Thread Senthil Nathan
Hi All, I'm trying to use xmlAddChildList( ) and seems there is a strange problem in adding this child list to the doctree (xmlDocPtr). here is the code snippet which creates the problem. bool AddChild(const string &path, xmlNodePtr *node*, AddChildType addType) { ...assume after eva

[xml] Patch for cleaning up after free() calls - against 2.6.30

2008-02-13 Thread Brian Krahmer
In doing some testing against a commercial code-checking tool, I found that most (all?) of the free() calls in libxml2 were not being followed by x = NULL. This was causing crashes in a multi-threaded test program on linux. Please accept and apply the following patch at your earliest convenie

Re: [xml] TextReader vis-a-vis SAX

2008-02-13 Thread Andrew W. Nosenko
On Aug 29, 2007 3:32 PM, Daniel Veillard <[EMAIL PROTECTED]> wrote: > On Wed, Aug 29, 2007 at 06:50:53PM +0530, harbhanu wrote: > > >> What libxml2 creates is a sliding window over the full document. It > > >> contains the current node and its ancestors. That's the only guarantee Therefore, if I u

Re: [xml] libxml performance discrepancies

2008-02-13 Thread Daniel Veillard
On Tue, Feb 12, 2008 at 10:32:42PM -0500, Edward Z. Yang wrote: Hi Edward, > Over at the PHP documentation project, we use libxml in order to parse > and then process our documentation. [1] Recently, some optimization work > was done to the loading and resolution of entities inside or XML > doc

Re: [xml] is there an option to disable the xml standards check

2008-02-13 Thread Daniel Veillard
On Wed, Feb 13, 2008 at 03:02:45AM +0530, Senthil Nathan wrote: > >Hi, > >Is there an option to disable the xml standards check. > > > >Because I would be having few tags as <1> which are not > >proper xml standards. And I'm finding ways to avoid such improper > >tags.

Re: [xml] WG: xmlwriter function naming convention

2008-02-13 Thread Daniel Veillard
On Tue, Feb 12, 2008 at 03:16:09PM +0100, Mickautsch, Alfred wrote: > Sorry, I should have sent the mail to the list :-(. > > > > -Ursprüngliche Nachricht- > Von: Mickautsch, Alfred > Gesendet: Dienstag, 12. Februar 2008 15:15 > An: '[EMAIL PROTECTED]' > Betreff: AW: [xml] xmlwriter fun