diff options
author | hsbt <hsbt@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-02-26 02:25:40 +0000 |
---|---|---|
committer | hsbt <hsbt@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-02-26 02:25:40 +0000 |
commit | cee71eac60e029898cb93ec3b484d70e87baaf9c (patch) | |
tree | c3a6af8da4f8022ad097151b91977fbfdd8aef0d /lib/xmlrpc.rb | |
parent | 6cf1f19baa61702024fafdf6d8590c9c0fe90dde (diff) | |
download | ruby-cee71eac60e029898cb93ec3b484d70e87baaf9c.tar.gz |
* lib/xmlrpc.rb: Removed references to NQXML. It's obsoleted parser.
[fix GH-1245][ruby-core:59593][Feature #9371]
* lib/xmlrpc/config.rb: ditto.
* lib/xmlrpc/parser.rb: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53946 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/xmlrpc.rb')
-rw-r--r-- | lib/xmlrpc.rb | 17 |
1 files changed, 3 insertions, 14 deletions
diff --git a/lib/xmlrpc.rb b/lib/xmlrpc.rb index 3928bf0d95..7cda39fc03 100644 --- a/lib/xmlrpc.rb +++ b/lib/xmlrpc.rb @@ -53,10 +53,6 @@ # * HTTPS protocol (SSL) # # * Parsers -# * NQXML (XMLParser::NQXMLStreamParser, XMLParser::NQXMLTreeParser) -# * Not compiled (pure ruby) -# * Note: NQXML's website recommends rexml and isn't available on rubygems.org -# * See http://nqxml.sourceforge.net/ # * Expat (XMLParser::XMLStreamParser, XMLParser::XMLTreeParser) # * Compiled # * Fastest parser and also uses the least memory @@ -70,7 +66,7 @@ # * Fastest parser is Expat's XMLParser::XMLStreamParser! # # * General -# * possible to choose between XMLParser module (Expat wrapper) and REXML/NQXML (pure Ruby) parsers +# * possible to choose between XMLParser module (Expat wrapper) and REXML (pure Ruby) parsers # * Marshalling Ruby objects to Hashes and reconstruct them later from a Hash # * SandStorm component architecture XMLRPC::Client interface # @@ -295,18 +291,11 @@ # s.set_parser(XMLRPC::XMLParser::XMLStreamParser.new) # # ... # -# or: -# -# # ... -# server = XMLRPC::Server.new(8080) -# server.set_parser(XMLRPC::XMLParser::NQXMLParser.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 ~350 (!) times faster than -# XMLParser::NQXMLTreeParser and still ~18 times as fast as XMLParser::XMLTreeParser. +# 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 |