Sunday, 24 January 2016

XML : startDocument () and endDocument () methods in sax parser

  public void startDocument () throws SAXException   {        write("");        write(lineEnd);   }    

while using startdocument()and enddocument() methods to parse xml document getting errors like:

  syntax error on token "void",@ expected  and  Syntax error on token "throws",enum expected    

No comments:

Post a Comment