Thanks for the info, Stephen.
(Interestingly, I chose to keep the longer name.)
:_)
Stephen Bannasch wrote:
Eric,
FYI: This is a known bug in Ruby 1.8.6.
See:
http://rubyforge.org/tracker/index.php?func=detail&aid=18567&group_id=426&atid=1698
http://www.germane-software.com/projects/rexml/ticket/115
Here's the rexml patch I apply to the MRI Ruby 1.8.6_p111 source before
I build it -- I'm sure it could be easily adapted for jruby:
Index: lib/rexml/document.rb
===================================================================
--- lib/rexml/document.rb (revision 16176)
+++ lib/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 )
I don't use NB and can't help there.
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email
--
Eric Armstrong, Document Systems Architect, Sun Microsystems
http://blogs.sun.com/coolstuff
http://www.artima.com/weblogs/index.jsp?blogger=cooltools
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email