mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* lib/rexml/text.rb (REXML::Text.check): comment out
broken logic. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27229 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
40bc864003
commit
8287d55340
2 changed files with 10 additions and 4 deletions
|
@ -1,3 +1,8 @@
|
|||
Tue Apr 6 06:19:36 2010 NARUSE, Yui <naruse@ruby-lang.org>
|
||||
|
||||
* lib/rexml/text.rb (REXML::Text.check): comment out
|
||||
broken logic.
|
||||
|
||||
Tue Apr 6 05:59:12 2010 NARUSE, Yui <naruse@ruby-lang.org>
|
||||
|
||||
* lib/rexml/parsers/baseparser.rb (LETTER, DIGIT):
|
||||
|
|
|
@ -159,10 +159,11 @@ module REXML
|
|||
else
|
||||
raise "Illegal character '#{$1}' in raw string \"#{string}\""
|
||||
end
|
||||
elsif @parent and $3 and !SUBSTITUTES.include?($1)
|
||||
if !doctype or !doctype.entities.has_key?($3)
|
||||
raise "Undeclared entity '#{$1}' in raw string \"#{string}\""
|
||||
end
|
||||
# FIXME: below can't work but this needs API change.
|
||||
# elsif @parent and $3 and !SUBSTITUTES.include?($1)
|
||||
# if !doctype or !doctype.entities.has_key?($3)
|
||||
# raise "Undeclared entity '#{$1}' in raw string \"#{string}\""
|
||||
# end
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue