private XMLStreamReader newXMLStreamReader(){
  try {
    return XML_INPUT_FACTORY.createXMLStreamReader(new ByteArrayInputStream(xml),"UTF-8");
  }
 catch (  Exception xmlEx) {
    throw XMLTreeException.wrap(xmlEx);
  }
}

private XMLStreamReader newXMLStreamReader ( ) { try { return XML_INPUT_FACTORY . createXMLStreamReader ( new ByteArrayInputStream ( xml ) , "UTF-8" ) ; } catch ( Exception xmlEx ) { throw XMLTreeException . wrap ( xmlEx ) ; } }
creates new stream reader instance
