[Issue #37] fixes REXML bug introduced in Ruby 1.9.3-p392