Its been a long time coming, but we are happy to announce the release of libxml-ruby version 2.0.1.

The big change in this release is full support for Ruby 1.9.2. Strings that are returned from libxml-ruby have their encodings set to the encoding of the underlying xml document. Ruby 1.8.* is also still fully supported.

This release also includes a number of enhancements and fixes that have built up over the last two years. We've gone out and merged in almost all the patches the community has sent it.

Note that libxml-ruby now lives on GitHub at:

https://github.com/xml4r/libxml-ruby

Please fork that repository, and report any issues to that project.

Enhancements include:

* Fully Ruby 1.9.2 support (see above)
* Fat binary support for Windows users
* Add support for setting attribute namespaces.
* Rubinius support.
* Modernized Gem structure, including a gemspec file, new publish tasks, updated documentation tasks and use of Rake compiler.

Bug fixes include:

* Fix bug that caused segmentation fault when calling an invalid XPath expression twice in a row. * Remove references to passing blocks to Reader validation functions since the blocks have been replaced by global error handling. * Fix up incorrect comments in Document#node_type and Node#node_type methods. * Fix memory leak in Reader#expand, Reader#read_string, Reader#read_inner_xml and Reader#read_outer_xml.
* Fix Node#space_preserve= (it was backwards).
* Fix up memory leak in SAX parser.

So give the new release a try, and let us know how it works for you!

Thanks,

Charlie
_______________________________________________
libxml-devel mailing list
libxml-devel@rubyforge.org
http://rubyforge.org/mailman/listinfo/libxml-devel

Reply via email to