You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

Short Description
Sections, especially headings, can be made link-targets by adding the id="#xyz" element.
Name
BrokenCrossReferencesChecker
Tags
Iteration
Facade
Level
1

Description

Sections, especially headings, can be made link-targets by adding the id="#xyz" element, yielding for example html headings like the following example.

Problems occur if the same link target is defined several times (also shown below).

<h2 id="seealso">First Heading</h2>
<h2 id="seealso">Second Heading</h2>
<a href="#seealso">Duplicate definition - where shall I go now?</a>

Architecture Decisions

NameShort Description
HTML Parsing with jsoup
To check HTML we parse it into an internal (DOM-like) representation. For this task we use jsoup HTML parser, an open-source parser without external dependencies.
In the current {revision} we won’t check external links. These checks have been postponed to later versions.
String Similarity Checking with Jaro-Winkler-Distance
The small java-string-similarity library (by Ralph Allen Rice) contains implementations of several similarity-calculation algorithms.
  • No labels