[ https://issues.apache.org/jira/browse/SOLR-639?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
José Valim updated SOLR-639: ---------------------------- Attachment: solr_libxml.patch Patch attached! I've tested it against all possible scenarios, i.e.: 1. Using only ReXML 2. Using libxml-ruby before 0.8 (in the case, 0.6.0) 3. And against the latest version of libxml (in the case, 0.8.1) Worked like a charm! > Upgrade solr-ruby's XML capabilities for newest release of LibXML > ----------------------------------------------------------------- > > Key: SOLR-639 > URL: https://issues.apache.org/jira/browse/SOLR-639 > Project: Solr > Issue Type: New Feature > Components: clients - ruby - flare > Affects Versions: 1.3 > Reporter: Erik Hatcher > Assignee: Erik Hatcher > Attachments: solr_libxml.patch > > > From an e-mail from José Valim: > http://cfis.savagexi.com/articles/2008/07/16/resurrecting-libxml-ruby > But since they prepend LibXML in everything, we have to make a couple changes > to let it working: > In the file: gems/solr-ruby-0.0.6/lib/solr/xml.rb > Change line 23: > class XML::Node > For: > class LibXML::XML::Node > And then line 39: > Solr::XML::Element = XML::Node > For: > Solr::XML::Element = LibXML::XML::Node -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.