I have a simple xml file on my hard drive. When I open it with notepad ++, this is what I see:
<?xml version="1.0" encoding="UTF-8" standalone="yes"?> <content> ... more stuff here ... </content>
But when I read it using FileInputStream , I get:
?<?xml version="1.0" encoding="UTF-8" standalone="yes"?> <content>...
I use JAXB for parsing xml and this excludes "content that is not allowed in the prolog" because of this ?? sign.
What is this "?" sign? why is this and how can i get rid of it?
source share