What steps will reproduce the problem?
1. Try to load a DAISY 2.02 book containing accented characters where the XML
encoding is set to iso-8859-1 e.g. a Spanish book with a title of {{{<meta
name=\"dc:title\" content=\"El último judío\" />}}}
What is the expected output?
- The file should be correctly processed.
What do you see instead?
The sax parser throws an exception of the form:
org.apache.harmony.xml.ExpatParser$ParseException: At line 4, column 34: not
well-formed (invalid token)
I've written some test code to try and isolate the issue, and to see if I can
add a workaround so users can listen to Spanish books :)
Links for more information:
http://en.wikipedia.org/wiki/8859-1 which seems to confirm the file is
correctly formatted (as far as I can tell).
Original issue reported on code.google.com by julianharty on 17 Oct 2010 at 8:03
Original issue reported on code.google.com by
julianharty
on 17 Oct 2010 at 8:03