02-13-2005, 08:55 AM | #1 |
Junior Member
Posts: 6
Karma: 10
Join Date: Feb 2005
Device: T3
|
XML error
Hi all,
Due to a power loss, my computer restarted correctly. After that, I cannot open my .sdl file. I always get an XML error : Error opening SDL: Caractère XML non valide : �. java.io.IOException: Error opening SDL: Caractère XML non valide : �. at ck.a(Unknown Source) at bJ.run(Unknown Source) at org.eclipse.swt.custom.BusyIndicator.showWhile(Unk nown Source) at ar.a(Unknown Source) at cF.a(Unknown Source) at cq.widgetSelected(Unknown Source) at org.eclipse.swt.widgets.TypedListener.handleEvent( Unknown Source) at org.eclipse.swt.widgets.EventTable.sendEvent(Unkno wn Source) at org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source) at org.eclipse.swt.widgets.Display.runDeferredEvents( Unknown Source) at org.eclipse.swt.widgets.Display.readAndDispatch(Un known Source) at ky.a(Unknown Source) at com.distantchord.sunrise.apps.Desktop.e(Unknown Source) at com.distantchord.sunrise.apps.Desktop.main(Unknown Source) I tried to upgrade from 0.41 to 0.41d version and nothing changed. I succeeded in creating a new document list and a new document in it. Can someone help me before I recreate my document list and all my documents ? Thanks |
02-13-2005, 09:35 AM | #2 |
Jah Blessed
Posts: 1,295
Karma: 1373
Join Date: Apr 2003
Location: The Netherlands
Device: iPod Touch
|
You might want to open your SDL in Notepad (or any other text editor) and remove the � entity to see if that helps. You could also check if there is a ".bak" file in the same directory.
|
Advert | |
|
02-13-2005, 11:46 AM | #3 |
Junior Member
Posts: 6
Karma: 10
Join Date: Feb 2005
Device: T3
|
Thanks for your quick reply.
I tried to look for � entity in the sdl file : it is not present, even the 3 first letters... And there is no .bak file in the same directory. Any more idea ? If no, I'll rebuild my .sdl and make a copy regularly. Thanks |
02-13-2005, 12:04 PM | #4 |
Jah Blessed
Posts: 1,295
Karma: 1373
Join Date: Apr 2003
Location: The Netherlands
Device: iPod Touch
|
The error you're getting is due to a 0 byte somewhere in the file. This won't show up in a text editor. (You need a hex editor to edit this.)
If all else fails, you could e-mail me your SDL file, so I can try to salvage some of the data. |
02-13-2005, 12:35 PM | #5 |
Junior Member
Posts: 6
Karma: 10
Join Date: Feb 2005
Device: T3
|
Very kind to you.
I send you my sdl file to your mail. Don't spend too much time in it, I found an old sdl file in which i only miss 5 documents so it will not take me a long time to rebuild. |
Advert | |
|
02-13-2005, 12:43 PM | #6 | |
Junior Member
Posts: 6
Karma: 10
Join Date: Feb 2005
Device: T3
|
Quote:
|
|
02-13-2005, 12:49 PM | #7 |
Jah Blessed
Posts: 1,295
Karma: 1373
Join Date: Apr 2003
Location: The Netherlands
Device: iPod Touch
|
Fixed version is attached. The last byte of the file was a 0.
|
02-13-2005, 01:26 PM | #8 |
Junior Member
Posts: 6
Karma: 10
Join Date: Feb 2005
Device: T3
|
Thanks a lot, it works fine.
Now, I'll have a backup copy and a new one each time I change or add a document. Thanks again. |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
ERROR: Error: Error communicating with device | JWood | Calibre | 10 | 04-20-2010 07:28 PM |
Random XML corrupted error | siulayhumga | Calibre | 0 | 06-16-2009 05:37 PM |
Media.XML and how to create one from pc | Student1 | Sony Reader Dev Corner | 4 | 05-06-2009 07:39 PM |
Why xml?? | real_yoni | Sony Reader Dev Corner | 1 | 01-20-2009 11:45 AM |
PRS-500 Available XML commands | johnmcelfresh | Sony Reader Dev Corner | 0 | 08-18-2007 01:55 PM |