-
Bug
-
Resolution: Fixed
-
P3
-
12
-
b17
A link checker reported the following:
api/java.desktop/javax/swing/plaf/synth/doc-files/synthFileFormat.html:56: id not found: api/java.desktop/javax/swing/plaf/synth/SynthLookAndFeel.html#load(java.io.InputStream, java.lang.Class)
This is caused by the following:
$ find open/src -name synthFileFormat.html | xargs grep HREF
HREF="../../../../../javax/swing/plaf/synth/SynthLookAndFeel.html#load(java.io.InputStream,%20java.lang.Class)">
This is wrong for two reasons:
1. A fragment identifier may never contain a space, even when encoded by %20
2. The correct link does not have a space.
$ find build/linux-x86_64-server-release/images/docs -name SynthLookAndFeel.html | xargs grep 'id="load('
build/linux-x86_64-server-release/images/docs/api/java.desktop/javax/swing/plaf/synth/SynthLookAndFeel.html:<a id="load(java.io.InputStream,java.lang.Class)">
build/linux-x86_64-server-release/images/docs/api/java.desktop/javax/swing/plaf/synth/SynthLookAndFeel.html:<a id="load(java.net.URL)">
These broken links are part of the noise that is preventing us from reaching our goal of no broken links.
api/java.desktop/javax/swing/plaf/synth/doc-files/synthFileFormat.html:56: id not found: api/java.desktop/javax/swing/plaf/synth/SynthLookAndFeel.html#load(java.io.InputStream, java.lang.Class)
This is caused by the following:
$ find open/src -name synthFileFormat.html | xargs grep HREF
HREF="../../../../../javax/swing/plaf/synth/SynthLookAndFeel.html#load(java.io.InputStream,%20java.lang.Class)">
This is wrong for two reasons:
1. A fragment identifier may never contain a space, even when encoded by %20
2. The correct link does not have a space.
$ find build/linux-x86_64-server-release/images/docs -name SynthLookAndFeel.html | xargs grep 'id="load('
build/linux-x86_64-server-release/images/docs/api/java.desktop/javax/swing/plaf/synth/SynthLookAndFeel.html:<a id="load(java.io.InputStream,java.lang.Class)">
build/linux-x86_64-server-release/images/docs/api/java.desktop/javax/swing/plaf/synth/SynthLookAndFeel.html:<a id="load(java.net.URL)">
These broken links are part of the noise that is preventing us from reaching our goal of no broken links.