Description
ef: PI must not start with xml (position:unknown
xm@1:7 in java.io.InputStreamReader@13271327)
Place FileMapConfig.parseLocifyDescriptor
Data
The next line is the beginning of my xml file. It appears to have a
leading character, that I cannot type with this keyboard. I've googled
the error message, and most search results point to leading white
space in the xml file. I've checked the xml file with multiple
editors, and I have not been able to find any trace of leading white
space. I've changed the encoding with Windows notepad to all available
encoding types. None of them worked. Most of them made things worse.
What might be the cause of this problem?
Byte-order mark, perhaps? Most editors have a habit of writing one when
saving text as unicode, both utf-8 and utf-16. You need an editor when you
can control this. I believe PSPad (http://www.pspad.com/) should be able to.
I believe the XML should be saved as utf-8, no byte-order mark, with
appropriate <?xml version='1.0' encoding='utf-8'?> processing instruction at
the begining.
--
Jan 'Bulb' Hudec <bu...@ucw.cz>