Parses the data from the supplied InputStream.
Parameters: in - The InputStream from which to read the data. Parameters: baseURI - The URI associated with the data in the InputStream. throws: IOException - If an I/O error occurred while data was read from the InputStream. throws: QueryResultParseException - If the parser has encountered an unrecoverable parse error.