Nokogiri 1.5.5 Released

Nokogiri version 1.5.5 has been released, continuing the tradition of
achieving Nokogiri milestones in time for GoRuCo.

This version of Nokogiri is a bugfix release, with vastly improved
JRuby “1.9 mode” support, thanks to the efforts of John Shahid and
Yoko H…

You may also have noticed that Team Nokogiri has been rechristened
“Sparklemotion”, and the repository has been moved under a Github
Organization of the same name. Same code, same people, new name.

Nokogiri (鋸) is an HTML, XML, SAX, and Reader parser. Among Nokogiri’s
many features is the ability to search documents via XPath or CSS3
selectors.

XML is like violence - if it doesn’t solve your problems, you are not
using
enough of it.

Changes:

1.5.5 / unreleased

  • Features

    • Much-improved support for JRuby in 1.9 mode! Yay!
  • Bugfixes

    • Regression in JRuby Nokogiri add_previous_sibling (1.5.0 → 1.5.1)
      #691
      (Thanks, John Shahid!)
    • JRuby unable to create HTML doc if URL arg provided #674 (Thanks,
      John
      Shahid!)
    • JRuby raises NullPointerException when given HTML document is nil or
      empty string. #699
    • JRuby 1.9 error, uncaught throw ‘encoding_found’, has been fixed.
      #673
    • Invalid encoding returned in JRuby with US-ASCII. #583
    • XmlSaxPushParser raises IndexOutOfBoundsException when over 512
      characters are given. #567, #615
    • When xpath evaluation returns empty NodeSet, decorating NodeSet’s
      base
      document raises exception. #514
    • JRuby raises exception when xpath with namespace is specified. pull
      request #681 (Thanks, Piotr Szmielew)
    • JRuby renders nodes without their namespace when subclassing Node.
      #695
    • JRuby raises NAMESPACE_ERR (org.w3c.dom.DOMException) while
      instantiating RDF::RDFXML::Writer. #683
    • JRuby is not able to use namespaces in xpath. #493