Subject: Re: [xsl] Encoding problem or what else?|
From: "FC" <flavio@xxxxxx>
Date: Wed, 7 Dec 2005 23:25:01 +0100
I expected this from your first post. The three bytes are the (optional) UTF-8 Byte Order Mark (BOM). The XML Parser that is used by your XSL processor does not consume them as it should, resulting in character data in the prolog, which is obviously not allowed.
It is typical of Microsoft products to use this BOM. Wordpad adds it at save time and consumes it at reading time, so you will never see it in that editor. Switch to a different (XML) parser, get rid of the BOM in your data (can you influence the creation?) or patch the reading process to consume this BOM.
Second option is perhaps easiest.