From: Charles Oliver Nutter Date: 2010-01-22T05:35:11+09:00 Subject: Re: Should Nokogiri replace REXML? On Thu, Jan 21, 2010 at 1:17 PM, Jordi Bunster wrote: > Wouldn't that make it really hard for the non C-based Ruby implementations? Yes, it would. But if someone wants to help implement the remaining bits of the pure-Java Nokogiri, we'll be pretty close in JRuby. http://www.serabe.com/2009/12/31/helping-nokogiri-take-ii/ Unfortunately libxml encompasses a *lot* of functionality not typically included in the many Java XML parser (like bad HTML scrubbing), so including all of Nokogiri would introduce a lot of dependencies. Ideally I'd like to see a Nokogiri "lite" that just provides the W3C APIs for DOM, SAX, and pull parsing, and allows you to pull in "Nokogiri HTML" or some other library for doing HTML scrubbing. - Charlie