This gets us the ability to use XPath consistently, as well as Hpricot's forgiving parser, when using JRuby