Project

General

Profile

Backport #9368

Typo in documentation of REXML.entity_expansion_text_limit=

Added by Herwin Quarantainenet over 2 years ago. Updated over 2 years ago.

Status:
Closed
Priority:
Normal
[ruby-core:59587]

Description

In the module rexml/document there are a number of ways to change the variable @@entity_expansion_limit. The default value for this in the code is 10_000 (line 208 in the used version). The deprecated method Document::entity_expansion_text_limit= has a comment that says the default is 10240.

I haven't look at version 2.0 and above, so I'm not sure if these problems still exist in there.

ruby-1.9.3-p484-typo_fix_rexml_entity_expansion_text_limit.diff Magnifier - patch (486 Bytes) Herwin Quarantainenet, 01/06/2014 06:32 PM

Associated revisions

Revision 44735
Added by Usaku NAKAMURA over 2 years ago

merge revision(s) 39388: [Backport #9368]

* lib/rexml/document.rb (REXML::Document.entity_expansion_text_limit):
  fix a typo in comment in r39384.

History

#1 [ruby-core:59592] Updated by Kouhei Sutou over 2 years ago

  • Assignee set to Usaku NAKAMURA

Thanks for your report!
It had been fixed in r39388. The fix had been merged in 2.0.0 but not in 1.9.3.

usa, could you confirm it?

#2 Updated by Usaku NAKAMURA over 2 years ago

  • Tracker changed from Bug to Backport
  • Project changed from Ruby trunk to Backport193
  • Status changed from Open to Assigned

#3 [ruby-core:60188] Updated by Usaku NAKAMURA over 2 years ago

  • Status changed from Assigned to Closed
  • % Done changed from 0 to 100

Applied in changeset r44735.


merge revision(s) 39388: [Backport #9368]

* lib/rexml/document.rb (REXML::Document.entity_expansion_text_limit):
  fix a typo in comment in r39384.

Also available in: Atom PDF