Builder on 1.9

Like with REXML, I ported XML Builder to run on Ruby version 1.9.  As there is likely to be an extended transition period between 1.8 and 2.0, the design goal was to build a single library that supports both.

Major:

Minor:

Uninvestigated/Todo:

Updated: Patch, Gem


Sam, thanks for taking this stuff on.  The Ruby XML libraries have been driving me nuts for ages, and it’s good to finally see someone at the wheel who’s detail-oriented and has a serious background with XML.

Posted by MenTaLguY at


Sam: In general, you should be able to use the gem just fine on JRuby...and if not, it’s a bug and we’ll fix it. WRT 1.9 features, we plan to start adding them after our 1.1 final release this month, but we already have the regular expression engine done (thanks to Marcin Mielzinsky).

Please feel free to contact me directly with any questions. I want to make sure everything works on JRuby.

Posted by Charles Oliver Nutter at


"Next performance fix: Builder::XChar" by Sam Ruby

Chuckle. :-) You might take a look at how I completely eliminated to_xs in my patch for Ruby 1.9. Perhaps similar techniques could be used for JRuby, as the root cause is that 1.8 MRI doesn’t grok Unicode?...

Excerpt from Nick Sieger: Next performance fix: Builder::XChar at

Add your comment












Nav Bar