Fixed bugs in BufferedInputStream, XmlReader JseXmlReader