shtylman/libxmljs — comment on commit f579b7750dcd9c1d56ca63b8db11e583940ee869
File: src/xml_attribute.cc line 12
By shtylman:

Yea, it is just dead code. Basically, no attributes should ever or can ever be created using 'new' they must always be created using the .attr method of element. Eventually I planned to move more of that logic over to the js files in lib and then maybe the New here becomes relevant again, but as it stands none of that code is needed. I will remove it.