mirror of
https://github.com/ruby/ruby.git
synced 2025-08-25 22:14:37 +02:00
* 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
This commit is contained in:
parent
a400386dbe
commit
d8e3a92411
4 changed files with 13 additions and 78 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue