On 16/03/2011 21:22, Caldarale, Charles R wrote:
>> From: Mark Thomas [mailto:ma...@apache.org] 
>> Subject: Re: Solr on new Tomcat 7.0.11
> 
>> A quick Google suggests that there might be some whitespace 
>> before "<?xml ...". If I add some whitespace in my test case
>> I see the same error. Check the file in a text editor.
> 
> Could this be caused by a UTF-16 BOM prefix inserted by some less than 
> inspiring editors (e.g., Notepad)?  Might need a hex editor to be sure.

Maybe, although most XML parsers are BOM-aware and skip it. If there is
no obvious problem then yes, time to find a hex editor (or just re-write
the file in an editor you trust).

Mark

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to