I have got a small problem here. I am getting an XML file as a string from Java client to my sevlet. I need to parse the string. But SAX parser takes URI as input and not string directly. It also has an overloaded method which takes Inputsource as an input. (i.e it can take a character stream, a byte stream). Let me know if there is a way to convert String to character stream, or a byte stream) OR any other way to parse the string directly.
Any help regarding this would be appreciated. Thanks in advance Pooja.