Skip to content

Commit 45098aa

Browse files
committed
Various doc validation fixes
Contributes to #3275
1 parent f136dc8 commit 45098aa

File tree

12 files changed

+74
-75
lines changed

12 files changed

+74
-75
lines changed

eclipse.platform.common/bundles/org.eclipse.jdt.doc.isv/guide/CopyrightTabPage.html

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,10 @@
1-
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
2-
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
3-
<html lang="en" xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
1+
<!DOCTYPE html>
2+
<html lang="en">
43
<head>
54
<meta name="copyright" content=
65
"Copyright (c) IBM Corporation and others 2009, 2011. This page is made available under license. For full details see the LEGAL in the documentation book that contains this page." />
7-
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
8-
<meta http-equiv="Content-Style-Type" content="text/css" />
9-
<link rel="stylesheet" type="text/css" href="../book.css" />
6+
<meta charset="utf-8" />
7+
<link rel="stylesheet" href="../book.css" />
108
<title>CopyrightTabPage.java</title>
119
</head>
1210
<body>

eclipse.platform.common/bundles/org.eclipse.jdt.doc.isv/porting/4.29/recommended.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<html lang="en">
33
<head>
44
<meta name="copyright" content="Copyright (c) 2023 IBM Corporation and others. This page is made available under license. For full details see the LEGAL in the documentation book that contains this page." >
5-
<meta charset="utf-8"">
5+
<meta charset="utf-8">
66
<link rel="STYLESHEET" href="../../book.css">
77
<title>Adopting JDT 4.29 mechanisms and APIs</title>
88
</head>

eclipse.platform.common/bundles/org.eclipse.jdt.doc.isv/porting/4.32/recommended.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<html lang="en">
33
<head>
44
<meta name="copyright" content="Copyright (c) 2024 IBM Corporation and others. This page is made available under license. For full details see the LEGAL in the documentation book that contains this page." >
5-
<meta charset="utf-8"">
5+
<meta charset="utf-8">
66
<link rel="STYLESHEET" href="../../book.css">
77
<title>Adopting JDT 4.32 mechanisms and APIs</title>
88
</head>

eclipse.platform.common/bundles/org.eclipse.jdt.doc.isv/porting/4.37/faq.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<html lang="en">
33
<head>
44
<meta name="copyright" content="Copyright (c) 2025 IBM Corporation and others. This page is made available under license. For full details see the LEGAL in the documentation book that contains this page." >
5-
<meta charset="utf-8"">
5+
<meta charset="utf-8">
66
<link rel="STYLESHEET" href="../../book.css">
77
<title>Eclipse JDT 4.37 Plug-in Migration FAQ</title>
88
</head>

eclipse.platform.common/bundles/org.eclipse.jdt.doc.isv/porting/eclipse_4_34_porting_guide.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
<meta name="copyright" content="Copyright (c) IBM 2024 Corporation and others. This page is made available under license. For full details see the LEGAL in the documentation book that contains this page." >
77

8-
<meta charset="utf-8"">
8+
<meta charset="utf-8">
99
<link rel="STYLESHEET" href="../book.css">
1010
<title>Eclipse JDT 4.34 Plug-in Migration Guide</title>
1111
</head>

eclipse.platform.common/bundles/org.eclipse.jdt.doc.isv/questions/index.html

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,10 @@
1-
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
2-
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
3-
<html lang="en" xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
1+
<!DOCTYPE html>
2+
<html lang="en">
43
<head>
54
<meta name="copyright" content=
65
"Copyright (c) IBM Corporation and others 2000, 2011. This page is made available under license. For full details see the LEGAL in the documentation book that contains this page." />
7-
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
8-
<link rel="STYLESHEET" href="../book.css" charset="ISO-8859-1" type="text/css" />
6+
<meta charset="utf-8" />
7+
<link rel="STYLESHEET" href="../book.css"/>
98
<title>JDT Questions Index</title>
109
</head>
1110
<body>

eclipse.platform.common/bundles/org.eclipse.jdt.doc.isv/reference/misc/api-usage-rules.html

Lines changed: 15 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,10 @@
1-
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"><html lang="en">
1+
<!DOCTYPE HTML><html lang="en">
22
<HEAD>
33

44
<meta name="copyright" content="Copyright (c) IBM Corporation and others 2000, 2011. This page is made available under license. For full details see the LEGAL in the documentation book that contains this page." >
55

6-
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=ISO-8859-1">
7-
<META HTTP-EQUIV="Content-Style-Type" CONTENT="text/css">
8-
<link REL="STYLESHEET" HREF="../../book.css" CHARSET="ISO-8859-1" TYPE="text/css">
6+
<META charset="utf-8">
7+
<link REL="STYLESHEET" HREF="../../book.css">
98
<title>Eclipse Platform API - Rules of Engagement</title>
109

1110

@@ -50,36 +49,36 @@ <h2>
5049

5150
</ul><ul>
5251
<li>
53-
<tt>org.eclipse.foo.*</tt> - for example, <tt>org.eclipse.swt.widgets</tt>,
54-
<tt>org.eclipse.ui</tt>,
55-
or <tt>org.eclipse.core.runtime</tt></li>
52+
<code>org.eclipse.foo.*</code> - for example, <code>org.eclipse.swt.widgets</code>,
53+
<code>org.eclipse.ui</code>,
54+
or <code>org.eclipse.core.runtime</code></li>
5655

5756
<li>
58-
<tt>org.eclipse.foo.internal.*</tt> - not API; internal implementation
57+
<code>org.eclipse.foo.internal.*</code> - not API; internal implementation
5958
packages</li>
6059

6160
<li>
62-
<tt>org.eclipse.foo.examples.*</tt> - not API; these are examples</li>
61+
<code>org.eclipse.foo.examples.*</code> - not API; these are examples</li>
6362

6463
<li>
65-
<tt>org.eclipse.foo.tests.*</tt> - not API; these are test suites</li>
64+
<code>org.eclipse.foo.tests.*</code> - not API; these are test suites</li>
6665
</ul>
6766
<ul>
6867
<li>
69-
<b>API class or interface</b> - a <tt>public</tt> class or interface in
70-
an API package, or a <tt>public</tt> or <tt>protected</tt> class or interface
68+
<b>API class or interface</b> - a <code>public</code> class or interface in
69+
an API package, or a <code>public</code> or <code>protected</code> class or interface
7170
member declared in, or inherited by, some other API class or interface.
7271
The names of API classes and interfaces may legitimately appear in client
7372
code.</li>
7473

7574
<li>
76-
<b>API method or constructor</b> - a <tt>public</tt> or <tt>protected</tt>
75+
<b>API method or constructor</b> - a <code>public</code> or <code>protected</code>
7776
method or constructor either declared in, or inherited by, an API class
7877
or interface. The names of API methods may legitimately appear in client
7978
code.</li>
8079

8180
<li>
82-
<b>API field</b> - a <tt>public</tt> or <tt>protected</tt> field either
81+
<b>API field</b> - a <code>public</code> or <code>protected</code> field either
8382
declared in, or inherited by, an API class or interface. The names of API
8483
fields may legitimately appear in client code.</li>
8584
</ul>
@@ -168,7 +167,7 @@ <h2>
168167

169168
<li>
170169
<b>Debugging methods.</b> Do not call an API method labeled "for debugging
171-
purposes only". For example, most <tt>toString()</tt> methods are in this
170+
purposes only". For example, most <code>toString()</code> methods are in this
172171
category.</li>
173172

174173
<li>
@@ -184,7 +183,7 @@ <h2>
184183
instances may be created. The contract may also cover things like residual
185184
initialization responsibilities (for example, configuring a certain property
186185
before the instance is fully active) and associated lifecycle responsibilities
187-
(for example, calling <tt>dispose()</tt> to free up OS resources hung on
186+
(for example, calling <code>dispose()</code> to free up OS resources hung on
188187
to by the instance). Classes that are designed to be instantiated by clients
189188
are explicitly flagged in the Javadoc class comment (with words like "Clients
190189
may instantiate.").

eclipse.platform.common/bundles/org.eclipse.jdt.doc.isv/reference/misc/index.html

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,10 @@
1-
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
2-
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
1+
<!DOCTYPE html>
32
<html lang="en">
43
<head>
54
<meta name="copyright" content="Copyright (c) IBM Corporation and others 2000, 2011. This page is made available under license. For full details see the LEGAL in the documentation book that contains this page." />
6-
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"/>
5+
<meta charset="utf-8"/>
76
<meta name="Author" content="OTI"/>
8-
<link rel="STYLESHEET" href="../../book.css" charset="ISO-8859-1" type="text/css"/>
7+
<link rel="STYLESHEET" href="../../book.css"/>
98
<title>Other Reference Information</title>
109
</head>
1110
<body>

eclipse.platform.common/bundles/org.eclipse.jdt.doc.isv/reference/misc/overview-jdt.html

Lines changed: 38 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,16 @@
1-
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
1+
<!DOCTYPE html>
22
<html lang="en">
33
<head>
44
<meta name="copyright" content="Copyright (c) IBM Corporation and others 2000, 2009. This page is made available under license. For full details see the LEGAL in the documentation book that contains this page." >
5-
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
5+
<meta charset="utf-8">
66
<meta name="Author" content="OTI">
77
<title>JDT Overview - Map of JDT Plug-ins</title>
8-
<link rel="STYLESHEET" href="../../book.css" charset="ISO-8859-1" type="text/css">
8+
<link rel="STYLESHEET" href="../../book.css">
9+
<style>table, tr, td {
10+
border: 1px solid;
11+
border-collapse: collapse;
12+
}
13+
</style>
914
</head>
1015
<body>
1116
<h1>JDT Overview - Map of JDT Plug-ins</h1>
@@ -16,66 +21,66 @@ <h1>JDT Overview - Map of JDT Plug-ins</h1>
1621
Eclipse 4.18. This table is useful
1722
for determining which plug-ins a given plug-in should include as prerequisites.
1823
</p>
19-
<table border="1" width="80%" align="center">
24+
<table style="width: 80%;margin: 0px auto;" >
2025
<tbody>
2126
<tr>
2227
<td><b>API Package</b></td>
2328
<td><b>Required plug-in id</b></td>
2429
</tr>
2530
<tr>
26-
<td><tt>com.sun.jdi[.*]<br>
31+
<td><code>com.sun.jdi[.*]<br>
2732
org.eclipse.jdi[.*]<br>
28-
org.eclipse.jdt.debug[.*]</tt></td>
29-
<td><tt>org.eclipse.jdt.debug</tt></td>
33+
org.eclipse.jdt.debug[.*]</code></td>
34+
<td><code>org.eclipse.jdt.debug</code></td>
3035
</tr>
3136
<tr>
32-
<td><tt>org.eclipse.jdt.debug.ui[.*]</tt></td>
33-
<td><tt>org.eclipse.jdt.debug.ui</tt><br>
37+
<td><code>org.eclipse.jdt.debug.ui[.*]</code></td>
38+
<td><code>org.eclipse.jdt.debug.ui</code><br>
3439
</td>
3540
</tr>
3641
<tr>
37-
<td><tt>org.eclipse.jdt.core[.*]</tt></td>
38-
<td><tt>org.eclipse.jdt.core</tt></td>
42+
<td><code>org.eclipse.jdt.core[.*]</code></td>
43+
<td><code>org.eclipse.jdt.core</code></td>
3944
</tr>
4045
<tr>
41-
<td><tt>org.eclipse.jdt.annotation</tt></td>
42-
<td><tt>org.eclipse.jdt.annotation</tt></td>
46+
<td><code>org.eclipse.jdt.annotation</code></td>
47+
<td><code>org.eclipse.jdt.annotation</code></td>
4348
</tr>
4449
<tr>
45-
<td><tt>com.sun.mirror.*<br>
46-
org.eclipse.jdt.apt.core.*</tt></td>
47-
<td><tt>org.eclipse.jdt.apt.core</tt></td>
50+
<td><code>com.sun.mirror.*<br>
51+
org.eclipse.jdt.apt.core.*</code></td>
52+
<td><code>org.eclipse.jdt.apt.core</code></td>
4853
</tr>
4954
<tr>
50-
<td><tt>org.eclipse.jdt.launching[.*]</tt></td>
51-
<td><tt>org.eclipse.jdt.launching</tt></td>
55+
<td><code>org.eclipse.jdt.launching[.*]</code></td>
56+
<td><code>org.eclipse.jdt.launching</code></td>
5257
</tr>
5358
<tr>
54-
<td><tt>org.eclipse.jdt.core.manipulation[.*]<br>
55-
org.eclipse.jdt.core.refactoring[.*]</tt></td>
56-
<td><tt>org.eclipse.jdt.core.manipulation</tt></td>
59+
<td><code>org.eclipse.jdt.core.manipulation[.*]<br>
60+
org.eclipse.jdt.core.refactoring[.*]</code></td>
61+
<td><code>org.eclipse.jdt.core.manipulation</code></td>
5762
</tr>
5863
<tr>
59-
<td><tt>org.eclipse.jdt.ui[.*]</tt></td>
60-
<td><tt>org.eclipse.jdt.ui</tt></td>
64+
<td><code>org.eclipse.jdt.ui[.*]</code></td>
65+
<td><code>org.eclipse.jdt.ui</code></td>
6166
</tr>
6267
<tr>
63-
<td><tt>org.eclipse.jdt.junit[.*]</tt></td>
64-
<td><tt>org.eclipse.jdt.junit<br>
65-
org.eclipse.jdt.junit.core</tt></td>
68+
<td><code>org.eclipse.jdt.junit[.*]</code></td>
69+
<td><code>org.eclipse.jdt.junit<br>
70+
org.eclipse.jdt.junit.core</code></td>
6671
</tr>
6772
<tr>
68-
<td><tt>junit.*<br>
69-
org.junit[.*]</tt></td>
70-
<td><tt>org.junit</tt></td>
73+
<td><code>junit.*<br>
74+
org.junit[.*]</code></td>
75+
<td><code>org.junit</code></td>
7176
</tr>
7277
<tr>
73-
<td><tt>org.eclipse.ant.launching</tt></td>
74-
<td><tt>org.eclipse.ant.launching</tt></td>
78+
<td><code>org.eclipse.ant.launching</code></td>
79+
<td><code>org.eclipse.ant.launching</code></td>
7580
</tr>
7681
<tr>
77-
<td><tt>org.eclipse.ant.ui.launching</tt></td>
78-
<td><tt>org.eclipse.ant.ui</tt></td>
82+
<td><code>org.eclipse.ant.ui.launching</code></td>
83+
<td><code>org.eclipse.ant.ui</code></td>
7984
</tr>
8085
</tbody>
8186
</table>

eclipse.platform.common/bundles/org.eclipse.jdt.doc.user/tips/jdt_tips.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1864,7 +1864,7 @@ <h3><a id="misc_section"></a>Miscellaneous</h3>
18641864
<tr>
18651865
<td><b>Ctrl+Right:</b><br>
18661866
</td>
1867-
<td><img alt="Smart caret positioning in dialog" src="images/camel-case-nav-2.png"></td
1867+
<td><img alt="Smart caret positioning in dialog" src="images/camel-case-nav-2.png"></td>
18681868
</tr>
18691869
<tr>
18701870
<td><b>Ctrl+Shift+Right:</b><br>

0 commit comments

Comments
 (0)