cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Need to share some code when posting a question or reply? Make sure to use the "Insert code sample" menu option. Learn more! X

After upgrading to Mathcad 15 M040 I'm no longer able to open one of my files, "Unrecoverable error, two regions skipped". Same file still works perfectly with M030. Did someone had similar issues?

apusceddu
1-Newbie

After upgrading to Mathcad 15 M040 I'm no longer able to open one of my files, "Unrecoverable error, two regions skipped". Same file still works perfectly with M030. Did someone had similar issues?

After upgrading to Mathcad 15 M040 I'm no longer able to open one of my files, "Unrecoverable error, two regions skipped". Same file still works perfectly with M030. Did someone had similar issues? Had to uninstall M040 and get back to M030

4 REPLIES 4
PhilipOakley
5-Regular Member
(To:apusceddu)

Looks like you may want to try an XML compliance tool. Mathcad internally uses an XML notation which is meant to comply with a scheme that is in the mathcad install files.

They have been updating the scheme (bit by bit) as they try to get V15 ,-> Prime to work nice.

you may want to google "check xml for schema compliance" or look at http://stackoverflow.com/questions/124865/xml-schema-xsd-validation-tool to see if there are any tools you could use.

the schema(s) is at "C:\Program Files (x86)\Mathcad\Mathcad 15\schema" on my machine.

You may even want to compare the schema(s) between the two versions to see if you can spot the issue there.

Good Luck.

Ok, now this is weird.

I installed a Notepad++ plugin and I checked my file validity against the worksheet30.xsd schema file provided with Mathcad 15 M030, no problems are found. Then I extracted from the installation files of the M040 package the same worksheet30.xsd file. I tried to validate the same file against this other schema and got an error:

"Unable to parse schema file, parsing error at line 1508:

Element '{http://www.w3.org/2001/XMLSchema}group',attribute 'ref';

The QName value

'{http://schemas.mathsoft.com/provenance10}annotClass' does not resolve to a(n) model group definition."

Now the weird part. I used the winmerge tool to compare the worksheet-M030 file against the M040 and the two files are identical! So why one fails and the other doesn't?

Ok, the problem about the file failing was that I needed to have all the schema files in the folder, not only one.

So, I compared against worksheet30.xsd-> No errors.

If I compare against the other xsd files mentioned in my xmcd file (math30, units10, provenance10) I get for all of them these errors:

ERROR: Element '{http://schemas.mathsoft.com/worksheet30}worksheet': No matching global declaration available for the validation root.

ERROR: Element '{http://schemas.mathsoft.com/worksheet30}worksheet': No matching global declaration available for the validation root.

ERROR: Element '{http://schemas.mathsoft.com/worksheet30}worksheet': No matching global declaration available for the validation root.

Now, the problem is still here, and debugging it goes far beyond the role of a simple user of the software, I have neither time nor enough skill to debug line by line the xlm schemas of the two versions looking for a culprit.

It is a shame that PTC is unable to guarantee backwards compatibility not even between to neighbour service releases.

It seems that the only solution is to keep all the installations of my organization stuck to M030. Not really a nice result.

Thanks however to Philip Oakley for spotting the possible cause.

Hi Andrea,

Please send your issue to PTC's technical support by using "Mathcad Support Center": Mathcad Support Center

Top Tags