Re: Parsing from input stream

2007-11-13 Thread Balakumar Narayanasamy
Hi Jacob, Actually the problem is on back end which is has send the junk characters. So it is not a java or xml problem. Thanks, Balakumar, N Jacob Danner-2 wrote: > > Is there additional content at the start of the file? > can you check the start of the contents of the stream too? i.e, I > thi

Re: Parsing from input stream

2007-11-12 Thread Jacob Danner
Is there additional content at the start of the file? can you check the start of the contents of the stream too? i.e, I think there may be some additional bytes being added that are causing this. Do you get this problem when you are not using a byte stream? -jacobd On 11/11/07, Balakumar Narayanas

Re: Parsing from input stream

2007-11-11 Thread Balakumar Narayanasamy
Hi, Did you got any solution to this problem. I am also facing the similar problem while parsing an xml request. Thanks in advance... mgenov wrote: > > Hi everyone > I have problem with parsing from memory input stream. This is my code: > File f = new File("c:\\msg.xml"); > byte b[] = new byte[