• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

problem parsing xml string using dom parser

 
Balamurugan Sundararajan
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i want to parse a Xml String using a Dom parser......the parse function in dom parser takes only input stream as argument.......so i made the code as
InputStream inputstream = new StringBufferInputStream(XmlData) ;
InputSource inputSource = new InputSource(inputstream );
but saxexception is coming and also warning called
"java.io.StringBufferInputStream in java.io has been deprecated"
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic