Additional InputStream documentation

Added additional comments for the setting of the InputStream and
parsers. Also added additional comments in the parseXML method.