Skip to main content
1-Visitor
February 10, 2013
Question

Help recovering a corrupted file

  • February 10, 2013
  • 1 reply
  • 5336 views

When I try to open this file I get a message saying it is corrupt with the reason "element content is invalid according to the dtd/schema". Does anyone have any ideas on how I can recover the file. I will attach the file if anyone can help me out.

Thanks

1 reply

25-Diamond I
February 10, 2013

Same error here.

I am not good at xml but I looked at the xml-file in textmode and could not find anything wrong at the offending line 807.

After cutting away the whole section the file loads, but there could be something missing now. I attach the Mathcad file and a textfile containing the cutted lines - the offending line is now the third one (<ml:apply>) - in case some experts could find something wrong there.

23-Emerald V
February 11, 2013

Werner Exinger wrote:

Same error here.

I am not good at xml but I looked at the xml-file in textmode and could not find anything wrong at the offending line 807.

After cutting away the whole section the file loads, but there could be something missing now. I attach the Mathcad file and a textfile containing the cutted lines - the offending line is now the third one (<ml:apply>) - in case some experts could find something wrong there.

If it's of any possible help to you in the future, you may find the 'recovery' file at this link http://communities.ptc.com/message/91122#91122 of some use. I never did get the automation to work properly, that is auto-run a worksheet and return an error if didn't run properly. Consequently, it's still rather mandraulic.

Stuart

25-Diamond I
February 11, 2013

StuartBruff schrieb:

Did you play with the exclusion range as the instructions at the end of the recovery worksheet? I've just had a quick go and found that excluding region number 37 (region-id 328) restored the rest of the worksheet (that is, I set k in the purple region to 37..37, which then cut that region out of the worksheet). As I said, it involves rather too much user interaction to appeal to my tastes. I was hoping to find a way to automate the region exclusion process but didn't manage to do so.

(Having looked at the offending region, I opened up the original worksheet in Notepad++ and manually deleted the section between lines 805 (result) and 842 (/result); that restored the worksheet as well)

Stuart

No, I didn't play with the region exclusion, as I had no idea where to start. How did you found out (quickly) that region 37 was the faulty one?

Manually deleting that whole result-section was exactly what I did in first place.