Page 1 of 1
Can I set out the link check?
Posted: Fri Nov 15, 2019 5:13 pm
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?
Re: Can I set out the link check?
Posted: Mon Nov 18, 2019 11:47 am
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
Re: Can I set out the link check?
Posted: Tue Nov 19, 2019 7:22 pm
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.
Re: Can I set out the link check?
Posted: Wed Nov 20, 2019 10:56 am
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
Re: Can I set out the link check?
Posted: Wed Nov 20, 2019 2:54 pm
by birstrack
Thanks for the tips