Skip to content

libxml-ruby is broken, use nokogiri #10

Closed
tmm1 opened this Issue Jul 14, 2010 · 6 comments

5 participants

@tmm1
tmm1 commented Jul 14, 2010

i've run into multiple libxml-ruby bugs which are documented at http://github.com/cfis/libxml-ruby/issues

there's also a huge list of unresolved issues at http://rubyforge.org/tracker/?atid=1971&group_id=494&func=browse

this fork switches to nokogiri: http://github.com/dam5s/happymapper

@ehutzelman

Iibxml-ruby is segfaulting under ruby 1.9.2. I've run some tests and believe it has to do with the garbage collector and the issue where you need to use 'nodes = nil' as is done in HappyMapper:

http://libxml.rubyforge.org/rdoc/classes/LibXML/XML/Document.html#M000471

However, without a GC.start call after clearing the nodes, the segfault eventually still happens.

@cfis
cfis commented Apr 18, 2011

Hey guys,

We just pushed an updated libxml-ruby version that hopefully fixes these various issues. Can HappyMapper upgrade to the latest version?

@ehutzelman

just submitted pull request with latest libxml reference

@cfis
cfis commented Apr 25, 2011

Great - thanks for pushing this along Eric.

Note current release is 2.0.2, I'll be pushing a 2.0.3 release in the next week with some minor fixes.

Thanks - Charlie

@kaluznyo

Release 0.4 fixe this

@jnunemaker
Owner

Closing due to staleness and the fact that the project is currently not being maintained.

@jnunemaker jnunemaker closed this Jun 15, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.