This issue is marked as resolved but I'm still having this problem with an up-to-date JRuby.

  Faulty marshalling error blows up in ActiveSupport
  http://jira.codehaus.org/browse/JRUBY-3366

See stack trace from testing activesupport here:

  http://gist.github.com/79390

This activesupport tests I'm running specifically also rely on this patch:

Add JDOM (JRuby) as XmlMini backend
http://rails.lighthouseapp.com/projects/8994-ruby-on-rails/tickets/2238-add-jdom-jruby-as-xmlmini-backend

With benchmarks here:

  http://github.com/stepheneb/rails_hash_from_xml/tree/master

benchhmark results:

jruby 1.3.0 (ruby 1.8.6 patchlevel 287) (2009-03-13 rev 6586)
[amd64-java], platform: Java, version 1.6.0_03-p3
----------------------------------------------------------------
  rexml      3.84
  jdom       1.25

Ruby version: MRI 1.8.6 (2008-03-03 rev 114),
platform: universal-darwin9.0
-----------------------------------------------------------------
  rexml     13.079
  libxml     0.489
  nokogiri   7.954

I'm sure the JDOm implementation could be much faster -- it was a quick port of the REXML XmlMini backend.

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

   http://xircles.codehaus.org/manage_email


Reply via email to