From: transfire@... Date: 2014-04-11T17:54:41+00:00 Subject: [ruby-core:61989] [ruby-trunk - Feature #9379] Support for using libxml-ruby as XML parser in xmlrpc-libs Issue #9379 has been updated by Thomas Sawyer. This seems like a very reasonable idea. (Maybe it would even be possible to add support for Nokogiri too?) One thing though, is there a way to not load REXML at all if it is not needed? ---------------------------------------- Feature #9379: Support for using libxml-ruby as XML parser in xmlrpc-libs https://bugs.ruby-lang.org/issues/9379#change-46180 * Author: Herwin . * Status: Open * Priority: Normal * Assignee: * Category: lib * Target version: ---------------------------------------- The default backend in the XMLRPC parser is REXML. This should work at most occasions, but it definitely isn't the fastest implementation. The attached patch allows a backend using libxml-ruby which should be more efficient. It successfully passes the unit tests available in the file test/xmlrpc/test_parser.rb The default isn't changed in this patch, so when libxml-ruby isn't available nothing is changed. Even if it's available, you still have to change the parsing backend before it is used. ---Files-------------------------------- libxml-as-xmlrpc-parser.diff (1.79 KB) -- https://bugs.ruby-lang.org/