Details
-
Type:
Bug
-
Status: Resolved
-
Priority:
P3
-
Resolution: Fixed
-
Affects Version/s: 12
-
Fix Version/s: 12
-
Component/s: client-libs
-
Labels:
-
Subcomponent:
-
Resolved In Build:b17
Description
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.