Can I set out the link check?

Post here questions and problems related to editing and publishing DITA content.
birstrack
Posts: 16
Joined: Wed Jun 29, 2011 12:28 pm

Can I set out the link check?

Post by birstrack »

I want to be free to set something else in the xref@href than DITA expected.
But when do so, I get errors instead of warnings that the target cannot be found.
Can I set of the links check or at least conf. the validation that I get warnings instead of errors?
Radu
Posts: 9055
Joined: Fri Jul 09, 2004 5:18 pm

Re: Can I set out the link check?

Post by Radu »

Hi,

Are you referring to the validation errors reported by Oxygen when editing? Do you have the same problems when publishing?
Can you give us a precise example? Is it an xref having also the @format attribute set to some non-DITA format and the @scope attribute set to peer or external?

Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
birstrack
Posts: 16
Joined: Wed Jun 29, 2011 12:28 pm

Re: Can I set out the link check?

Post by birstrack »

Hi Radu, the xref look like this:
<xref href="CV#Ekel" format="dita" scope="local">
As long as we don't have all content we cannot set all links and decided to give it a fake target so that we know enough about the target we have to link later.
Radu
Posts: 9055
Joined: Fri Jul 09, 2004 5:18 pm

Re: Can I set out the link check?

Post by Radu »

Hi,

Oxygen's behavior seems correct as publishing the topic like that would result in a broken link. We do not have a setting for this.
Maybe you can add a plugin in Oxygen to filter out some of the reported errors, something like this sample plugin does:

https://github.com/oxygenxml/wsaccess-j ... lemsFilter

or add a "scope='peer'" to that xref so that Oxygen will no longer check it at validation time.

Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
birstrack
Posts: 16
Joined: Wed Jun 29, 2011 12:28 pm

Re: Can I set out the link check?

Post by birstrack »

Thanks for the tips
Post Reply