Parse Error: Content is not allowed in prolog
Hypertext-infused philosophy personal database software
Brought to you by:
jasonwinning
Hey there Jason, it's me again
I was running Hypernomicon as usual yesterday and turned off my note. As I turned it on today and tried to run the software, I received the following error: "Parse Error: Content is not allowed in prolog".
Do you have any idea of what could've caused it? At this point I'm considering to unistall and reinstall again, but I'm afraid to lose my files in the current version. What do you suggest?
What is in the file when you open it in Notepad++? Open the file in Notepad++ and go to View -> Show Symbol -> Show all characters. Normally an XML file should start with an open angle bracket; the first line should look like this:
The error is saying that there is something different at the beginning of the file. I hope it is not the dreaded null character again! As before, I don't think this can be caused simply by a bug in Hypernomicon. If this is another case of file corruption, then here are some questions to consider:
Last edit: Jason Winning 2026-01-06
Unfortunately it seems to be a null character occurrence. I tried to see if the corruption have damaged other files and the answer is positive.
On the questions and notes you've mentioned, I believe the problem is the last one. It is not uncommon here where I live that one day or another we have very brief power surges where the light goes off for a few seconds and then it comes back. Since my notebook is somewhat old, as soon as it happens it shuts down. Although I always save my most recent progress, the scenario where the application is running and the power surge suddenly shuts it off is somewhat common. If this is the case, is there any way to recover the data?
Edit.: I gave a look for possible solutions but, as far as my abilities go, it seems that restoring the data is the only viable solution. As I restored the app worked as usual once again.
Last edit: Caio Cezar Silva 2026-01-06
Sorry to hear about your electricity problems. I hope you can invest in a new battery for your computer! Or perhaps a UPS (uninterruptible power supply). Closing the ticket since the problem was externally caused.