Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Ruby > [ANN] Nokogiri 1.4.4 Released

Thread Tools

[ANN] Nokogiri 1.4.4 Released

Mike Dalessio
Posts: n/a
nokogiri version 1.4.4 has been released!

* <>
* <>
* <>
* <>
* <>

Nokogiri (=E9=8B=B is an HTML, XML, SAX, and Reader parser. Among Nokogi=
many features is the ability to search documents via XPath or CSS3

XML is like violence - if it doesn=E2=80=99t solve your problems, you are n=
ot using
enough of it.


### 1.4.4 / 2010-11-15

* New Features

* XML::Node#children=3D sets the node's inner html (much like #inner_html=
but returns the reparent node(s).
* XSLT supports function extensions. #336
* XPath bind parameter substitution. #329
* XML::Reader node type constants. #369
* SAX Parser context provides line and column information

* Bugfixes

* XML:TD#attributes returns an empty hash instead of nil when there are
no attributes.
* XML:TD#{keys,each} now work as expected. #324
* {XML,HTML}:ocumentFragment.{new,parse} no longer strip leading and
trailing whitespace. #319
* XML::Node#{add_child,add_previous_sibling,add_next _sibling,replace}
return a NodeSet when passed a string.
* Unclosed tags parsed more robustly in fragments. #315
* XML::Node#{replace,add_previous_sibling,add_next_s ibling} edge cases
fixed related to libxml's text node merging. #308
* Fixed a segfault when GC occurs during xpath handler argument
marshalling. #345
* Added hack to Slop decorator to work with previously defined methods.
* Fix a memory leak when duplicating child nodes. #353
* Fixed off-by-one bug with nth-last-{child,of-type} CSS selectors when
NOT using an+b notation. #354
* Fixed passing of non-namespace attributes to
SAX:ocument#start_element. #356
* Workaround for libxml2 in-context parsing bug. #362
* Fixed NodeSet#wrap on nodes within a fragment. #331

Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
[ANN] nokogiri 1.0.7 Released Aaron Patterson Ruby 1 12-03-2008 04:48 PM
[ANN] nokogiri 1.0.6 Released Aaron Patterson Ruby 2 11-18-2008 03:19 PM
[ANN] nokogiri 1.0.5 Released Aaron Patterson Ruby 4 11-13-2008 09:26 PM
[ANN] nokogiri 1.0.3 Released Aaron Patterson Ruby 0 11-04-2008 10:12 PM
[ANN] nokogiri 1.0.0 Released Aaron Patterson Ruby 0 10-31-2008 01:31 AM