Filtered all invalid XML characters out of the input stream