diamondneil
Programmer
I have implemented the SAX Parser on a web application. To do this I create a BufferedReader from the request and then call the SAX parse() method.
BufferedReader reader = request.getReader();
InputSource inputSource = new InputSource( reader );
xmlReader.parse( inputSource );
The problem is that when the XML data is posted to our web application the data from the request is encoded, and thus I need to decode it before calling parse().
Has anyone encountered this problem? If so, what was their solution?
BufferedReader reader = request.getReader();
InputSource inputSource = new InputSource( reader );
xmlReader.parse( inputSource );
The problem is that when the XML data is posted to our web application the data from the request is encoded, and thus I need to decode it before calling parse().
Has anyone encountered this problem? If so, what was their solution?