Skip to end of metadata
Go to start of metadata

Sections, especially headings, can be made link-targets by adding the id="#xyz" element.

Tags
Iteration
Filled
Level
1
Adresses requirement

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

Name Short Description
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.
The small java-string-similarity library (by Ralph Allen Rice) contains implementations of several similarity-calculation algorithms.