From: Alexander Larsson (alla@lysator.liu.se)
Date: Mon Feb 08 1999 - 12:31:28 EST
On 8 Feb, Daniel Veillard wrote:
>
>> It previously gave this xml code: <root prop\>, but after my comment you
>> changed it to generate <root prop=""\>. This has been changed back in
>> the latest cvs version. Is this a bug, or have you deliberatly changed
>> it? My program Dia currently depends on this.
>
> Fixed in CVS, sorry for reintroducing this bug,
Hmm, it seems the other bug is also left.
Parsing <root prop=""\> gives the property a value of NULL when
doing xmlNodeListGetString(). I think it should give strdup("")
instead. (Because then you can separate xmlGetProp() return status for
'non-existing property' and 'property value is empty string')
/ Alex
---- 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
This archive was generated by hypermail 2b29 : Wed Aug 02 2000 - 12:29:24 EDT