fails(JRUBY-2334):REXML::Document#new raises an error if source is not a Document, String or IO
