diff options
author | stomar <stomar@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-11-02 20:06:38 +0000 |
---|---|---|
committer | stomar <stomar@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-11-02 20:06:38 +0000 |
commit | 71e3a3e8e3fcec069bc4c7f85e4d7e1b2dcc0030 (patch) | |
tree | e668cb20d9e0448da15a33605df50b3792a28fa7 /lib/rexml/entity.rb | |
parent | 8ee30ab6f7643ec66b7164d9848a38e5cfafd323 (diff) | |
download | ruby-71e3a3e8e3fcec069bc4c7f85e4d7e1b2dcc0030.tar.gz |
rexml: improve docs
* lib/rexml/entity.rb: [DOC] drop a pointless comment.
Reported by Michael Gee (mikegee). [Fix GH-1736]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60616 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/rexml/entity.rb')
-rw-r--r-- | lib/rexml/entity.rb | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/rexml/entity.rb b/lib/rexml/entity.rb index 3f44c9109a..97c7b6b42f 100644 --- a/lib/rexml/entity.rb +++ b/lib/rexml/entity.rb @@ -27,8 +27,7 @@ module REXML # the constructor with the entity definition, or use the accessor methods. # +WARNING+: There is no validation of entity state except when the entity # is read from a stream. If you start poking around with the accessors, - # you can easily create a non-conformant Entity. The best thing to do is - # dump the stupid DTDs and use XMLSchema instead. + # you can easily create a non-conformant Entity. # # e = Entity.new( 'amp', '&' ) def initialize stream, value=nil, parent=nil, reference=false |