Greetings, Just saw the mention of 0.5.4 in another post and thought I'd take a look. I noticed to obvious problems:
1. in ext/libxml/version.h, the version is still 0.5.2.2. 2. in lib/libxml.rb, XML::Attr#to_h is wrong: it should return the hash (to_a methods work because Array#<< returns the array itself, hash insertions return the inserted value). ## patch ############ --- lib/libxml.old.rb 2008-01-27 18:01:44.000000000 +0100 +++ lib/libxml.rb 2008-03-26 13:53:35.000000000 +0100 @@ -95,7 +95,7 @@ end def to_a - inject([]) do |ary,a| ary << [a.name, a.value] end + inject([]) do |ary,a| ary << [a.name, a.value]; h end end def to_s ## end of patch ##### -- Luc Heinrich - [EMAIL PROTECTED] _______________________________________________ libxml-devel mailing list libxml-devel@rubyforge.org http://rubyforge.org/mailman/listinfo/libxml-devel