aldaris / docbook-linktester

Tests external links and olinks in DocBook documentation for validity
3 stars 1 forks source link

Improve debug/report output when olink is invalid #13

Closed aldaris closed 8 years ago

aldaris commented 8 years ago

We had the following broken link in our doc:

<link xlink:href="http://www.splunk.com"
      xlink:show="new"
      xlink:role="http://docbook.org/xlink/role/olink"
 >Splunk</link>

There was no real output from the plugin, the link only showed up in the report, which wasn't really that helpful. The problem with the above URL was that although the xlink's role is set to olink, it's not actually in olink format, and it's an external link instead.