Closed GoogleCodeExporter closed 9 years ago
I can reproduce this one. This occurs when the XML file contains a
[http://en.wikipedia.org/wiki/Byte_order_mark BOM]. If you remove the BOM from
your
XML file it should work. The way to do that depends of what editor you're
using, for
example with Notepad++ it's in "Encoding" --> "UTF-8 without BOM".
I'll have a look to see if I can prevent the error, or at least give a more
explicit
error message...
Original comment by nguillau...@gmail.com
on 5 Jun 2010 at 3:20
Unfortunately it's not simple to prevent this in code. However if you remove
the xml
declaration header from your file {{{<?xml version="1.0" encoding="utf-8"?>}}}
it
will work with or without BOM.
So just don't put any XML header and it should be ok :-). I'll update the doc
for
custom layout with this info.
Original comment by nguillau...@gmail.com
on 5 Jun 2010 at 6:24
Original issue reported on code.google.com by
stephane...@gmail.com
on 14 May 2010 at 1:15