Bugs: Browse | Submit New | Admin

[#18574] REXML included in build is broken

Date:
2008-03-04 02:06
Priority:
3
Submitted By:
William Sobel (wsobel)
Assigned To:
Nobody (None)
Category:
None
State:
Open
Summary:
REXML included in build is broken

Detailed description
I have found numerous problems with the included release of REXML included in this build. I have had to manually patch
it with the standard 1.8.6 release of REXML by overlaying the files.

One obvious example is in rexml/document.rb:

def write( output=$stdout, indent=-1, trans=false, ie_hack=false )
      if xml_decl.encoding != "UTF-8" && !output.kind_of?(Output)
        output = Output.new( output, xml_decl.encoding )
      end
      formatter = if indent > -1
          if transitive
            REXML::Formatters::Transitive.new( indent, ie_hack )
          else
            REXML::Formatters::Pretty.new( indent, ie_hack )
          end
        else
          REXML::Formatters::Default.new( ie_hack )
        end
      formatter.write( self, output )
end


The 'transitive' parameter is abbreviated trans in the argument list and this method does not work. There are other
examples as well. It appears this was a botched extract and needs to be redone.

Hope this helps,
- Will Sobel

Add A Comment: Notepad

Please login


Followup

Message
Date: 2008-03-04 02:12
Sender: William Sobel

Sorry, this was intended for one-click installer.

Attached Files:

Name Description Download
No Files Currently Attached

Changes:

No Changes Have Been Made to This Item