[xml] xmlRemoveID patch



After running into an issue with xmlRemoveID today and reading a post from August on the same issue, the attached patch seems to resolve the issue. An xmlIDPtr is now retrieved from the hash table and its attr property is checked against the xmlAttrPtr passed in. Lastly xmlHashRemoveEntry is called rather than xmlHashUpdateEntry so that its actually removed and the table is updated properly.
 
Rob

Attachment: valid.c.diff.txt
Description: Text document



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]