Can I set out the link check?

birstrack
Posts: 10
Joined: Wed Jun 29, 2011 12:28 pm

Can I set out the link check?

Post by birstrack » Fri Nov 15, 2019 5:13 pm

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: 7103
Joined: Fri Jul 09, 2004 5:18 pm

Re: Can I set out the link check?

Post by Radu » Mon Nov 18, 2019 11:47 am

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: 10
Joined: Wed Jun 29, 2011 12:28 pm

Re: Can I set out the link check?

Post by birstrack » Tue Nov 19, 2019 7:22 pm

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: 7103
Joined: Fri Jul 09, 2004 5:18 pm

Re: Can I set out the link check?

Post by Radu » Wed Nov 20, 2019 10:56 am

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: 10
Joined: Wed Jun 29, 2011 12:28 pm

Re: Can I set out the link check?

Post by birstrack » Wed Nov 20, 2019 2:54 pm

Thanks for the tips

Post Reply