Results 1 to 3 of 3
Thread: sun.io.MalformedInputException
- 12-16-2009, 11:00 AM #1
Member
- Join Date
- Dec 2009
- Posts
- 4
- Rep Power
- 0
- 12-16-2009, 06:53 PM #2
- Join Date
- Sep 2008
- Location
- Voorschoten, the Netherlands
- Posts
- 11,376
- Blog Entries
- 7
- Rep Power
- 17
- 12-17-2009, 03:22 AM #3
You are not having an XML problem, you are having a character encoding problem. The method is expecting, as far as I can tell, an array of bytes that represent valid UTF8 characters. If the input is not encoded in UTF8 but something else, such as ISO 8859-1, which is the Windows encoding, you can get this exception.
Make sure you know the encoding of your input document. Some text editors can modify the encoding; you might try changing the encoding to UTF8 and then saving.


LinkBack URL
About LinkBacks
Reply With Quote

Bookmarks