I have an XML file which gives me the following error while parsing: An Invalid XML character(Unicode: 0x0) was found in the element content of the document error.
I can read the whole thing fine, and there are no control characters either.
But when I typed the whole thing myself instead of a file that was provided to me it worked fine.
What could be the issue. I read through some similar questions on SO and they all said that this might be a encoding issue. But can anyone elaborate on this as I could read the whole thing. And if it is encoding issue how would i know by looking at the file because it looks fine. Its readable. I delete a line and type it myself and that line is getting parsed properly.
Thanks in advance
See Question&Answers more detail:os