"Content is not allowed in prolog" after computer crash
Posted: Tue Feb 21, 2017 5:18 am
I'm brand new to oXygen and I've already encountered a problem my instructor can't help me with. I was working on creating a schema, saving occasionally as I went along. Last night I decided I'd worked long enough, so I saved my file and then tried to switch to Firefox, which was also open. After a several minutes long hang, my computer crashed. After restarting it, I thought I'd better check on my oXygen file, since it had still been open when the crash occurred. I got a message saying something along the lines of "The program didn't close properly. Do you want to reopen the files you were working on?" I said yes, but it only opened one of the two or three files I had open, and it was not the one I had most recently been working on. When I did open that one, the file was completely blank, and the message "Content is not allowed in prolog" appears at the bottom of the window. I gather this means that there is an incorrect character somewhere at the beginning of the document, but there is no text at all, so I can't look for what is wrong. The file had been validating properly prior to the crash. I did try to Change Version just before my last save. Could that have caused a problem? There was no error message when I tried to save.
The only thing I see when I open the document is "using XML Schema 1.0 for the current file", a 1 to indicate the first line of the file (which again, is completely blank), and the error message at the bottom.
Is this file recoverable? If so, how?
The only thing I see when I open the document is "using XML Schema 1.0 for the current file", a 1 to indicate the first line of the file (which again, is completely blank), and the error message at the bottom.
Is this file recoverable? If so, how?