Re: [xml] Problem in Namespace handling in xmlSetNsProp (?)



On Wed, Jul 31, 2002 at 02:50:33PM +0200, Christian Glahn wrote:
hallo, 

i found a problem related to the ancient bugzilla id #55683, which is 
namespace handling for attributes. the bug tracking says it's fixed, 
while it's still broken (i checked the cvs version)
[...]
as the original bugreport #55683 says, attributes that have no namespace 
themselfes must not inherit the parents namespace. but if one looks to this 
statement, this is exactly what libxml2 does. (as the example shows)
[...]
i tested this code and it gives me the expected results. 

(note: the same problem is with xmlUnsetNsProp())

  Okay, I commited both fixes in CVS, I didn't close all occurences
of #55683, or not the right ones...

http://cvs.gnome.org/bonsai/cvsquery.cgi?module=gnome-xml&branch=HEAD&branchtype=match&dir=gnome-xml&file=&filetype=match&who=veillard&whotype=match&sortby=Date&hours=&date=explicit&mindate=08%2F01%2F02+08%3A51&maxdate=08%2F01%2F02+08%3A53&cvsroot=%2Fcvs%2Fgnome

and

http://cvs.gnome.org/bonsai/cvsquery.cgi?module=gnome-xml&branch=HEAD&branchtype=match&dir=gnome-xml&file=&filetype=match&who=veillard&whotype=match&sortby=Date&hours=&date=explicit&mindate=08%2F01%2F02+08%3A53&maxdate=08%2F01%2F02+08%3A55&cvsroot=%2Fcvs%2Fgnome

  thanks for the report,

Daniel

-- 
Daniel Veillard      | Red Hat Network https://rhn.redhat.com/
veillard redhat com  | libxml GNOME XML XSLT toolkit  http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/



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