XML not well formed
Posted: 2010-10-16 08:43:37
Hi,
I'm currently working on Android version of Pocket AMC Reader. However I ran into problems when importing XML catalog. Can't use DOM parser as I did with Windows Mobile version since it gives me out of memory exceptions with 18Mb catalog (max heap is set to 25 Mb on Android 2.2). Then I tried SAX parser, however this one is giving me 'document not well-formed' exception. Looking into XML, I found out that characters like ’,“,” are causing problems.
Is there any way to fix it? Can AMC produce well formed XML? Would using Windows-1252 encoding be any help?
Elman
I'm currently working on Android version of Pocket AMC Reader. However I ran into problems when importing XML catalog. Can't use DOM parser as I did with Windows Mobile version since it gives me out of memory exceptions with 18Mb catalog (max heap is set to 25 Mb on Android 2.2). Then I tried SAX parser, however this one is giving me 'document not well-formed' exception. Looking into XML, I found out that characters like ’,“,” are causing problems.
Is there any way to fix it? Can AMC produce well formed XML? Would using Windows-1252 encoding be any help?
Elman