Ah, good idea. It just retries once after doing a GC?
Yup.
Have time to turn this into a test case?
Done. I also cleaned up the tests so that they almost all pass now.
If you're opening files in tests, use something akin to:
File.open(File.join(File.dirname(__FILE__), 'model/foo.xml')) {|f| ... }
Ideally there should/would be a helper method/macro that'd type that
for you, but I didn't add it at this time. -sc
% ./setup.rb test
Loaded suite test
Started
.................................................................................................................
EXPECTING: TWO ERRORS:
F................
Finished in 0.874862 seconds.
1) Failure:
test_error_handler(TextParser) [/Users/sean/src/ruby-libxml/trunk/test/
tc_xml_parser.rb:198]:
<nil> expected but was
<#<Proc:0x005c9874@/Users/sean/src/ruby-libxml/trunk/test/
tc_xml_dtd.rb:59>>.
130 tests, 716 assertions, 1 failures, 0 errors
--
Sean Chittenden
[EMAIL PROTECTED]
_______________________________________________
libxml-devel mailing list
libxml-devel@rubyforge.org
http://rubyforge.org/mailman/listinfo/libxml-devel