Bug #1426

REXML::Document.write wrong formatting

Added by Luciano Zanotto almost 3 years ago. Updated 10 months ago.

[ruby-core:23339]
Status:Closed Start date:05/01/2009
Priority:Normal Due date:
Assignee:- % Done:

0%

Category:ext
Target version:Ruby 1.8.6
ruby -v:ruby 1.8.6 (2007-09-24 patchlevel 111) [i386-mswin32]

Description

In method write of class REXML::Document a bug in method declaration causes a failure. Following is method declaration
		def write( output=$stdout, indent=-1, trans=false, ie_hack=false )
third parameter is declared with name "trans", but later is checked with name "transitive", generating an error.

document.rb (6.8 kB) Luciano Zanotto, 05/01/2009 12:51 am

History

Updated by Federico Builes almost 3 years ago

This was fixed a while ago, just upgrade your copy of Ruby or the REXML library.

Updated by Yukihiro Matsumoto almost 3 years ago

  • Status changed from Open to Closed

Also available in: Atom PDF