Re: [xsl] Invalid byte 2 of 2-byte UTF-8 sequence exception while transforming

Subject: Re: [xsl] Invalid byte 2 of 2-byte UTF-8 sequence exception while transforming
From: "M. David Peterson" <m.david@xxxxxxxxxx>
Date: Fri, 02 Feb 2007 02:25:22 -0700
On Fri, 02 Feb 2007 02:17:38 -0700, Pankaj Bishnoi <pankaj.bishnoi@xxxxxxxxxxx> wrote:

What can be the possible cause for this exception ?

More of a Xalan-J Users List question: http://xml.apache.org/mail.html#xalan-j-users; but generally speaking you'll find this error when you open an XML document in a text editor that doesn't properly understand the encoding, to then save it with that editors default encoding, resulting in an error similar to the one you are seeing.


Did you open and then save the file in Notepad, or something similar?

--
/M:D

M. David Peterson
http://mdavid.name | http://www.oreillynet.com/pub/au/2354

Current Thread