REXML::Document.write wrong formatting
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.