Nokogiri 1.5.7 Released

nokogiri version 1.5.7 has been released!

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

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


1.5.7 / 2013-03-18

  • Features

    • Windows support for Ruby 2.0.
  • Bugfixes

    • SAX::Parser.parse_io throw an error when used with lower case
    • (JRuby) Java Nokogiri is finally green (passes all tests) under 1.8
      1.9 mode. High five everyone. #798, #705
    • (JRuby) Nokogiri::XML::Reader broken (as a pull parser) on jruby -
      reads the whole XML document. #831
    • (JRuby) JRuby hangs parsing “&”. #837
    • (JRuby) JRuby NPE parsing an invalid XML instruction. #838
    • (JRuby) Node#content= incompatibility. #839
    • (JRuby) to_xhtml doesn’t print the last slash for self-closing tags
      JRuby. #834
    • (JRuby) Adding an EntityReference after a Text node mangles the
      in JRuby. #835
    • (JRuby) JRuby version inconsistency: nil for empty attributes. #818
    • CSS queries for classes (e.g., “.foo”) now treat all whitespace
      identically. #854
    • Namespace behavior cleaned up and made consistent between JRuby and
      MRI. #846, #801 (Thanks, Michael K.!)
    • (MRI) SAX parser handles empty processing instructions. #845