XMLBOT needs to be re-compat with std::istream