naruse
46ff009168
* lib/rexml/source.rb: force_encoding("UTF-8") when the input
...
is already UTF-8. patched by Kouhei Sutou [ruby-core:23404]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27342 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-04-14 13:11:11 +00:00
nobu
cff7d0c80e
* lib/rexml/parsers/baseparser.rb (REXML::Parsers::BaseParser::STANDALONE):
...
any number spaces can be placed between equal-sign and the value.
patch from Ed Howland in [ruby-core:27345].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26193 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-12-29 01:36:26 +00:00
tenderlove
197eea3404
* lib/rexml/formatters/default.rb (write_attribute): fix an
...
exception when printing a document when duplicate namespaced
attributes exist. Thanks, Alexey Froloff [ruby-core:2389]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25956 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-11-28 21:40:59 +00:00
shugo
a324863b99
* lib/rexml/entity.rb (unnormalized): do not call
...
document.record_entity_expansion if document is nil.
see <http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=502535 >.
Thanks, Naohisa Goto.
* test/rexml/test_document.rb: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20120 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-11-06 17:03:40 +00:00
shugo
364b083425
* test/rexml/test_document.rb: removed garbage.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19318 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-09-13 01:43:51 +00:00
shugo
cb9478ae04
* text/rexml/test_document.rb (test_entity_expansion_limit): added tests.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19317 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-09-13 01:40:36 +00:00
shugo
bb1d005da6
* lib/rexml/document.rb: limit entity expansion.
...
* lib/rexml/entity.rb: ditto.
* test/rexml/test_document.rb: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19033 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-09-01 13:41:38 +00:00