mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
1d8c98a486
http://www.germane-software.com/repos/rexml/tags/3.1.7 r1278@bean: ser | 2007-06-07 00:53:06 -0400 Fixed a double-encoding bug. This was a regression, related to ticket:48. r1292@bean: ser | 2007-07-25 08:19:36 -0400 r1279@bean: ser | 2007-06-09 23:19:02 -0400 Fixes ticket:89 -- encoding CP-1252 was broken. ISO-8859-15 had the same problem. Also in this patch is a fix to merge.rb (unused, but it should at least contain no errors), and a unit test for ticket:88. r1293@bean: ser | 2007-07-25 08:19:37 -0400 r1281@bean: ser | 2007-07-24 11:08:48 -0400 Addresses ticket:85 This is a major rewrite of the XML formatting code. The XML writers have all been extracted out of the classes and put into their own class containers. This makes writing parsers easier, and cleaner. There are three formatters, which correspond to the previous three XML writing modes: REXML::Formatters::Default Prints the XML document exactly as it was parsed REXML::Formatters::Pretty Pretty prints the XML document, destroying whitespace in the document REXML::Formatters::Transitive Pretty prints the XML document, preserving whitespace All of the write() functions have been deprecated (some are still used, but these will also go away) except the write() function on Document, which is left for convenience. To pretty print an XML document the canonical way: formatter = REXML::Formatters::Pretty.new( 5 ) # indent by 5 spaces formatter.write( document, output ) r1294@bean: ser | 2007-07-25 08:19:38 -0400 r1283@bean: ser | 2007-07-24 19:53:30 -0400 This goes with the previous commit. r1295@bean: ser | 2007-07-25 08:19:39 -0400 r1285@bean: ser | 2007-07-24 20:02:07 -0400 And THIS goes with the previous two patches. Dammit. r1296@bean: ser | 2007-07-25 08:19:40 -0400 r1287@bean: ser | 2007-07-24 20:12:25 -0400 Applied patch from Jeff Barczewski. Note that this changes what the values of the name and IDs are from the previous behavior -- the values no longer include the quotes. This is the correct behavior, so I'm leaving it in, but it is not backwards compatible. Also fixes the serializer so that it outputs the doctype in a correct format (needed as a result of this change). r1297@bean: ser | 2007-07-25 08:38:38 -0400 Version update git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12844 b2dd03c8-39d4-4d8f-98ff-823fe69b080e |
||
---|---|---|
.. | ||
cgi | ||
date | ||
drb | ||
irb | ||
json | ||
net | ||
optparse | ||
racc | ||
rdoc | ||
rexml | ||
rinda | ||
rss | ||
runit | ||
shell | ||
soap | ||
test | ||
uri | ||
vm | ||
webrick | ||
wsdl | ||
xmlrpc | ||
xsd | ||
yaml | ||
.document | ||
abbrev.rb | ||
base64.rb | ||
benchmark.rb | ||
cgi.rb | ||
complex.rb | ||
csv.rb | ||
date.rb | ||
debug.rb | ||
delegate.rb | ||
drb.rb | ||
e2mmap.rb | ||
English.rb | ||
Env.rb | ||
erb.rb | ||
eregex.rb | ||
fileutils.rb | ||
finalize.rb | ||
find.rb | ||
forwardable.rb | ||
ftools.rb | ||
generator.rb | ||
getoptlong.rb | ||
getopts.rb | ||
gserver.rb | ||
importenv.rb | ||
ipaddr.rb | ||
irb.rb | ||
jcode.rb | ||
json.rb | ||
logger.rb | ||
mailread.rb | ||
mathn.rb | ||
matrix.rb | ||
mkmf.rb | ||
monitor.rb | ||
mutex_m.rb | ||
observer.rb | ||
open-uri.rb | ||
open3.rb | ||
optparse.rb | ||
ostruct.rb | ||
parsearg.rb | ||
parsedate.rb | ||
pathname.rb | ||
ping.rb | ||
pp.rb | ||
prettyprint.rb | ||
profile.rb | ||
profiler.rb | ||
pstore.rb | ||
rational.rb | ||
readbytes.rb | ||
README | ||
resolv-replace.rb | ||
resolv.rb | ||
rss.rb | ||
rubyunit.rb | ||
scanf.rb | ||
secrand.rb | ||
securerandom.rb | ||
set.rb | ||
shell.rb | ||
shellwords.rb | ||
singleton.rb | ||
sync.rb | ||
tempfile.rb | ||
thread.rb | ||
thwait.rb | ||
time.rb | ||
timeout.rb | ||
tmpdir.rb | ||
tracer.rb | ||
tsort.rb | ||
un.rb | ||
uri.rb | ||
weakref.rb | ||
webrick.rb | ||
yaml.rb |
English.rb lets Perl'ish global variables have English names Env.rb loads importenv.rb README this file base64.rb encodes/decodes base64 (obsolete) benchmark.rb a benchmark utility cgi-lib.rb simple CGI support library (old style) cgi.rb CGI support library cgi/session.rb CGI session class complex.rb complex number suppor csv.rb CSV parser/generator date.rb date object date/format.rb date parsing and formatting debug.rb ruby debugger delegate.rb delegates messages to other object drb.rb distributed Ruby e2mmap.rb exception utilities erb.rb tiny eRuby library eregex.rb extended regular expression (just a proof of concept) fileutils.rb file utilities finalize.rb adds finalizer to the object find.rb traverses directory tree forwardable.rb explicit delegation library ftools.rb file tools getoptlong.rb GNU getoptlong compatible getopts.rb parses command line options (use getoptlong) gserver.rb general TCP server importenv.rb imports environment variables as global variables ipaddr.rb defines the IPAddr class irb.rb interactive ruby jcode.rb Japanese text handling (replace String methods) logger.rb simple logging utility mailread.rb reads mail headers mathn.rb extended math operation matrix.rb matrix calculation library mkmf.rb Makefile maker monitor.rb exclusive region monitor for thread mutex_m.rb mutex mixin net/ftp.rb ftp access net/http.rb HTTP access net/imap.rb IMAP4 access net/pop.rb POP3 access net/protocol.rb abstract class for net library (DO NOT USE) net/smtp.rb SMTP access net/telnet.rb telnet library observer.rb observer desing pattern library (provides Observable) open-uri.rb easy-to-use network interface using URI and Net open3.rb opens subprocess connection stdin/stdout/stderr optparse.rb command line option analysis ostruct.rb python style object parsearg.rb argument parser using getopts parsedate.rb parses date string pathname.rb Object-Oriented Pathname Class ping.rb checks whether host is up, using TCP echo. pp.rb pretty print objects prettyprint.rb pretty printing algorithm profile.rb runs ruby profiler profiler.rb ruby profiler module pstore.rb persistent object strage using marshal racc/parser.rb racc (Ruby yACC) runtime rational.rb rational number support rdoc source-code documentation tool readbytes.rb define IO#readbytes resolv-replace.rb replace Socket DNS by resolve.rb resolv.rb DNS resolver in Ruby rexml an XML parser for Ruby, in Ruby rubyunit.rb original Ruby Unit testing framework scanf.rb scanf for Ruby set.rb defines the Set class shell.rb runs commands and does pipeline operations like shell shellwords.rb split into words like shell singleton.rb singleton design pattern library soap SOAP 1.1 implementation sync.rb 2 phase lock tempfile.rb temporary file with automatic removal test/unit Ruby Unit Testing Framework thread.rb thread support thwait.rb thread syncronization class time.rb RFC2822, RFC2616, ISO8601 style time formatting/parsing timeout.rb provides timeout tmpdir.rb retrieve temporary directory path tracer.rb execution tracer tsort.rb topological sorting un.rb Utilities to replace common UNIX commands in Makefiles etc uri.rb URI support uri/ftp.rb ftp scheme support uri/http.rb http scheme support uri/https.rb https scheme support uri/ldap.rb ldap scheme support uri/mailto.rb mailto scheme support weakref.rb weak reference class webrick.rb WEB server toolkit wsdl WSDL 1.1 implementation xmlrpc XML-RPC implementation xsd XML Schema Datatypes implementation yaml.rb YAML implementation