rexml/document references undefined variable
--------------------------------------------
Key: JRUBY-2002
URL: http://jira.codehaus.org/browse/JRUBY-2002
Project: JRuby
Issue Type: Bug
Components: Core Classes/Modules
Affects Versions: JRuby 1.1RC1
Reporter: Hugh Winkler
There's an error in rexml/document.rb. It references undefined
'transitive'; it meant 'trans':
Patch:
Index: jruby/lib/ruby/1.8/rexml/document.rb
===================================================================
--- jruby/lib/ruby/1.8/rexml/document.rb (revision 5667)
+++ jruby/lib/ruby/1.8/rexml/document.rb (working copy)
@@ -183,7 +183,7 @@
output = Output.new( output, xml_decl.encoding )
end
formatter = if indent > -1
- if transitive
+ if trans
REXML::Formatters::Transitive.new( indent, ie_hack )
else
REXML::Formatters::Pretty.new( indent, ie_hack )
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe from this list please visit:
http://xircles.codehaus.org/manage_email