Different map validation results, same files

Having trouble installing Oxygen? Got a bug to report? Post it all here.
andrea888
Posts: 6
Joined: Thu Nov 01, 2012 3:26 am

Different map validation results, same files

Post by andrea888 »

My colleague and I get different results running the DITA Map Completeness Check with the same files, same oXygen version, same validation type (XML Schema) on two different machines/local drives. She gets a clean validation, but mine results in a list of errors that existed in long-ago file versions, not the current ones we're using. The result is the same regardless of whether I place files downloaded from source control in a new folder or place them in my existing development environment. Also, my build is clean. It seemed to happen out of the blue.

Any ideas what would cause this?
Radu
Posts: 9449
Joined: Fri Jul 09, 2004 5:18 pm

Re: Different map validation results, same files

Post by Radu »

Hi Andrea,

The validate and check for completeness just parses the XML documents and then follows links between them. If it reports a problem in some content, then that content is there, on your local drive.
For example if you double click one of those reported problems, Oxygen will open that topic and you can see if the problem is still there or not.
Are you sure you opened the right map in the DITA Maps Manager? Maybe you opened a map from a previous branch of your project.

Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
andrea888
Posts: 6
Joined: Thu Nov 01, 2012 3:26 am

Re: Different map validation results, same files

Post by andrea888 »

I don't see how it's possible to have the wrong map. I have removed all other instances of the ditamap from my machine,restarted my machine, uninstalled/reinstalled oXygen 14.2, only to have the same problem. I'm also seeing "No profile" on my errors. What does that mean?
Radu
Posts: 9449
Joined: Fri Jul 09, 2004 5:18 pm

Re: Different map validation results, same files

Post by Radu »

Hi Andrea,

The No profile part of the message means that you have not applied any specific profiling/filtering when validating the DITA Map. So it does not have any relation to your problem.

Please double click one of the errors and the corresponding topic will be opened in Oxygen. Then you can right click the opened editor's tab and choose "Copy location".
You can then paste this location in the Windows Explorer and navigate to the place where that topic was found by Oxygen. You can then open that topic in a different application (Notepad for example) and see if the problem is there or not.

Do you use a shared network drive to store all topics? Or some kind of version control like SVN or GIT?

Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
andrea888
Posts: 6
Joined: Thu Nov 01, 2012 3:26 am

Re: Different map validation results, same files

Post by andrea888 »

I'm concluding that we may have source control issues that caused this problem.

If you know how to eliminate the warning about the mailto: xref not having the correct format attribute--the one remaining map warning--please post it here.

Thank you for the support.
Radu
Posts: 9449
Joined: Fri Jul 09, 2004 5:18 pm

Re: Different map validation results, same files

Post by Radu »

Hi,

A proper mailto reference should have the form:

Code: Select all

<xref href="mailto:test@yahoo.com" format="html" scope="external"/>
We fixed in Oxygen 15.1 a problem of Oxygen incorrectly reporting mailto: xrefs as not valid.
So you should ignore that error reported in Oxygen 14.2 or upgrade to 15.1.

Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
Post Reply