aboutsummaryrefslogtreecommitdiffstats
path: root/lib/xmlrpc.rb
diff options
context:
space:
mode:
authorhsbt <hsbt@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2016-03-02 06:12:51 +0000
committerhsbt <hsbt@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2016-03-02 06:12:51 +0000
commitd8e3a924111fe46c93a7fc9c0fa00d579ff5ec1c (patch)
tree09c0ebf4919d781e4c09854d48f71d9c69186459 /lib/xmlrpc.rb
parenta400386dbe2744fbc86ee7bc1982b182b0b554d5 (diff)
downloadruby-d8e3a924111fe46c93a7fc9c0fa00d579ff5ec1c.tar.gz
* lib/xmlrpc.rb: Removed broken parser named XMLTreeParser.
Required gem of its parser didn't compile on newer Ruby versions. [fix GH-1271][ruby-core:59590][Bug #9370] * lib/xmlrpc/config.rb: ditto. * lib/xmlrpc/parser.rb: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53980 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/xmlrpc.rb')
-rw-r--r--lib/xmlrpc.rb15
1 files changed, 4 insertions, 11 deletions
diff --git a/lib/xmlrpc.rb b/lib/xmlrpc.rb
index 7cda39fc03..c581efee7c 100644
--- a/lib/xmlrpc.rb
+++ b/lib/xmlrpc.rb
@@ -53,17 +53,15 @@
# * HTTPS protocol (SSL)
#
# * Parsers
-# * Expat (XMLParser::XMLStreamParser, XMLParser::XMLTreeParser)
-# * Compiled
-# * Fastest parser and also uses the least memory
-# * See https://rubygems.org/gems/xmlparser
# * REXML (XMLParser::REXMLStreamParser)
# * Not compiled (pure ruby)
# * See ruby standard library
# * xml-scan (XMLParser::XMLScanStreamParser)
# * Not compiled (pure ruby)
# * See https://rubygems.org/gems/xmlscan
-# * Fastest parser is Expat's XMLParser::XMLStreamParser!
+# * libxml (LibXMLStreamParser)
+# * Compiled
+# * See https://rubygems.org/gems/libxml-ruby/
#
# * General
# * possible to choose between XMLParser module (Expat wrapper) and REXML (pure Ruby) parsers
@@ -288,14 +286,9 @@
#
# # ...
# s = XMLRPC::CGIServer.new
-# s.set_parser(XMLRPC::XMLParser::XMLStreamParser.new)
+# s.set_parser(XMLRPC::XMLParser::XMLParser.new)
# # ...
#
#
-# Note XMLParser::XMLStreamParser (xmlparser gem) is faster and uses less memory than any
-# other parser and scales well for large documents. For example for a 0.5 MB XML
-# document with many tags, XMLParser::XMLStreamParser is ~18 times as fast as
-# XMLParser::XMLTreeParser.
-#
# You can change the XML-writer by calling method ParserWriterChooseMixin#set_writer.
module XMLRPC; end