REXML cannot write more than 16k for some documents ---------------------------------------------------
Key: JRUBY-2282 URL: http://jira.codehaus.org/browse/JRUBY-2282 Project: JRuby Issue Type: Bug Affects Versions: JRuby 1.1RC2 Environment: Leopard on a Core 2 Duo Reporter: Julian Raschke Assignee: Thomas E Enebo When writing some documents with REXML to a file, the output ends at around 16k, even if it's in the middle of a tag. This is not true for all documents, but for some. I guess it's an IO error (it works with StringIO), but I couldn't find anything that sounded quite like it in recent bug reports, so I hope this is not a hidden duplicate. Steps to reproduce: Unzip test.xml from: http://www.raschke.de/julian/xml_before_after.zip Run: jruby -rrexml/document -e "REXML::Document.new(File.new('test.xml')).write File.new('test2.xml', 'w')" Compare test.xml and test2.xml. -- 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