I am trying to parse an XML response, but I am failing miserably. I thought initially
that the xml was just not being returned in the response, so
For those who reached this post for Answer:
This happens mainly because the InputStream the DOM parser is consuming is empty
So in what I ran across, there might be two situations:
InputStream you passed into the parser has been used and thus emptied.File or whatever you created the InputStream from may be an empty file or string or whatever. The emptiness might be the reason caused the problem. So you need to check your source of the InputStream.