Re: [xml] Listing possible valid attributes

2009-10-06 Thread Daniel Veillard
On Sat, Oct 03, 2009 at 01:34:02AM -0700, D Haley wrote: Hello, I have been hunting around the API, but I cannot seem to find any way to obtain a list of attributes as specified by the DTD for a given type of node. I am basically building a simple XML writing helper app and I would like

Re: [xml] xmlRemoveProp and xmlUnsetProp not remoning element

2009-10-06 Thread Daniel Veillard
On Wed, Sep 30, 2009 at 10:19:43AM -0500, David Hill wrote: I have tried to use both xmlRemoveProp and xmlUnsetProp to remove an element and both return an error stating they can't find the element, even though it was found with xmlStrcmp. So not sure what I'm doing wrong, any suggestions

[xml] how to interpret/reproduce this type of xml?

2009-10-06 Thread Bob Sabiston
Hello, I am new to xml and libxml, so please forgive me if the following is an ignorant or simple question. I'm trying to write some code that reads and writes to a pre-existing xml file format. I'm having trouble with one part of the file, where elements of text make up individual

[xml] [PATCH] Fix yet another --with-threads bug: using pipe instead of logical OR

2009-10-06 Thread Andrew W. Nosenko
Unfortunately, at the time of writing 2bdf87e Restore behavior of --with-threads without argument I was too concentrated on --with-threads without arguments and left second problem in this check unattended: the test chain was built using '|' pipe instead of '||' logical OR. As consequence,

Re: [xml] [PATCH] Fix yet another --with-threads bug: using pipe instead of logical OR

2009-10-06 Thread Daniel Veillard
On Tue, Oct 06, 2009 at 05:25:04PM +0300, Andrew W. Nosenko wrote: Unfortunately, at the time of writing 2bdf87e Restore behavior of --with-threads without argument I was too concentrated on --with-threads without arguments and left second problem in this check unattended: the test chain

[xml] Release of libxml2-2.7.6

2009-10-06 Thread Daniel Veillard
I didn't expect to make a new release but the compilation issue on Windows due to #elif syntax and the missing thread support when configuring 2.7.5 without argument are IMHO serious roadblocks for people who distribute libxml2, and the best was to make this bug fix release now and try to reduce