ruby-changes:48501
From: stomar <ko1@a...>
Date: Fri, 3 Nov 2017 05:06:44 +0900 (JST)
Subject: [ruby-changes:48501] stomar:r60616 (trunk): rexml: improve docs
stomar 2017-11-03 05:06:38 +0900 (Fri, 03 Nov 2017) New Revision: 60616 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=60616 Log: rexml: improve docs * lib/rexml/entity.rb: [DOC] drop a pointless comment. Reported by Michael Gee (mikegee). [Fix GH-1736] Modified files: trunk/lib/rexml/entity.rb Index: lib/rexml/entity.rb =================================================================== --- lib/rexml/entity.rb (revision 60615) +++ lib/rexml/entity.rb (revision 60616) @@ -27,8 +27,7 @@ module REXML https://github.com/ruby/ruby/blob/trunk/lib/rexml/entity.rb#L27 # 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 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/