Skip to content

Commit ddbbd36

Browse files
committedDec 14, 2023
8320279: Link issues in java.xml module-info.java
Reviewed-by: iris, lancea, naoto
1 parent c8ad7b7 commit ddbbd36

File tree

5 files changed

+20
-20
lines changed

5 files changed

+20
-20
lines changed
 

‎src/java.xml/share/classes/javax/xml/XMLConstants.java

+4-4
Original file line numberDiff line numberDiff line change
@@ -258,7 +258,7 @@ private XMLConstants() {
258258
* <p>
259259
* <b>Configuration File:</b>
260260
* Yes. The property can be set in the
261-
* <a href="{@docRoot}/java.xml/module-summary.html#ConfigurationFile">configuration file</a>.
261+
* <a href="{@docRoot}/java.xml/module-summary.html#Conf_CF">configuration file</a>.
262262
*
263263
* @since 1.7
264264
*/
@@ -283,7 +283,7 @@ private XMLConstants() {
283283
* <p>
284284
* <b>Configuration File:</b>
285285
* Yes. The property can be set in the
286-
* <a href="{@docRoot}/java.xml/module-summary.html#ConfigurationFile">configuration file</a>.
286+
* <a href="{@docRoot}/java.xml/module-summary.html#Conf_CF">configuration file</a>.
287287
*
288288
* @since 1.7
289289
*/
@@ -310,7 +310,7 @@ private XMLConstants() {
310310
* <p>
311311
* <b>Configuration File:</b>
312312
* Yes. The property can be set in the
313-
* <a href="{@docRoot}/java.xml/module-summary.html#ConfigurationFile">configuration file</a>.
313+
* <a href="{@docRoot}/java.xml/module-summary.html#Conf_CF">configuration file</a>.
314314
*
315315
* @since 1.7
316316
*/
@@ -345,7 +345,7 @@ private XMLConstants() {
345345
* <p>
346346
* <b>Configuration File:</b>
347347
* Yes. The property can be set in the
348-
* <a href="{@docRoot}/java.xml/module-summary.html#ConfigurationFile">configuration file</a>.
348+
* <a href="{@docRoot}/java.xml/module-summary.html#Conf_CF">configuration file</a>.
349349
*
350350
* @since 9
351351
*/

‎src/java.xml/share/classes/javax/xml/stream/XMLEventFactory.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ public static XMLEventFactory newInstance(String factoryId,
135135
* <li>
136136
* <p>
137137
* Use the value of the property {@code factoryId} set in the
138-
* <a href="{@docRoot}/java.xml/module-summary.html#ConfigurationFile">configuration file</a>,
138+
* <a href="{@docRoot}/java.xml/module-summary.html#Conf_CF">configuration file</a>,
139139
* jaxp.properties by default. If the file exists and the property {@code factoryId}
140140
* is specified in the file, its value will be used as the implementation class.
141141
* </li>

‎src/java.xml/share/classes/javax/xml/stream/XMLInputFactory.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2009, 2021, Oracle and/or its affiliates. All rights reserved.
2+
* Copyright (c) 2009, 2023, Oracle and/or its affiliates. All rights reserved.
33
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
44
*
55
* This code is free software; you can redistribute it and/or modify it
@@ -222,7 +222,7 @@ public static XMLInputFactory newInstance(String factoryId,
222222
* <li>
223223
* <p>
224224
* Use the value of the property {@code factoryId} set in the
225-
* <a href="{@docRoot}/java.xml/module-summary.html#ConfigurationFile">configuration file</a>,
225+
* <a href="{@docRoot}/java.xml/module-summary.html#Conf_CF">configuration file</a>,
226226
* jaxp.properties by default. If the file exists and the property {@code factoryId}
227227
* is specified in the file, its value will be used as the implementation class.
228228
* </li>

‎src/java.xml/share/classes/javax/xml/stream/XMLOutputFactory.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,7 @@ public static XMLInputFactory newInstance(String factoryId,
197197
* <li>
198198
* <p>
199199
* Use the value of the property {@code factoryId} set in the
200-
* <a href="{@docRoot}/java.xml/module-summary.html#ConfigurationFile">configuration file</a>,
200+
* <a href="{@docRoot}/java.xml/module-summary.html#Conf_CF">configuration file</a>,
201201
* jaxp.properties by default. If the file exists and the property {@code factoryId}
202202
* is specified in the file, its value will be used as the implementation class.
203203
* </li>

‎src/java.xml/share/classes/module-info.java

+12-12
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
* <li><a href="#Conf_CF_SP">User-defined Configuration File</a></li>
4040
* </ul>
4141
* </li>
42-
* <li><a href="#PP">Property Precedence</a></li>
42+
* <li><a href="#Conf_PP">Property Precedence</a></li>
4343
* </ul>
4444
* </li>
4545
* <li><a href="#LookupMechanism">JAXP Lookup Mechanism</a>
@@ -101,7 +101,7 @@
101101
* <a href="#Conf_Properties">JAXP Properties</a>,
102102
* <a href="#Conf_SystemProperties">System Properties</a>,
103103
* and the <a href="#Conf_CF">JAXP Configuration File</a>, and sets the values
104-
* following the <a href="#PP">Property Precedence</a>. The terminologies and
104+
* following the <a href="#Conf_PP">Property Precedence</a>. The terminologies and
105105
* process are defined below.
106106
*
107107
* <h3 id="Conf_Properties">JAXP Properties</h3>
@@ -168,7 +168,7 @@
168168
* proceeds as if the {@code java.xml.config.file} property was not set.
169169
* Implementations may optionally issue a warning message.
170170
*
171-
* <h3 id="PP">Property Precedence</h3>
171+
* <h3 id="Conf_PP">Property Precedence</h3>
172172
* JAXP properties can be set in multiple ways, including by API methods, system
173173
* properties, and the <a href="#Conf_CF">JAXP Configuration File</a>. When not
174174
* explicitly set, they will be initialized with default values or more restrictive
@@ -262,15 +262,15 @@
262262
* <td style="text-align:center">{@link javax.xml.datatype.DatatypeFactory#newDefaultInstance() newDefaultInstance()}</td>
263263
* </tr>
264264
* <tr>
265-
* <th scope="row" style="font-weight:normal" id="DOM">
265+
* <th scope="row" style="font-weight:normal" id="DocumentBuilderFactory">
266266
* {@link javax.xml.parsers.DocumentBuilderFactory DocumentBuilderFactory}
267267
* </th>
268268
* <td style="text-align:center">{@link javax.xml.parsers.DocumentBuilderFactory#newInstance() newInstance()}</td>
269269
* <td style="text-align:center">{@code javax.xml.parsers.DocumentBuilderFactory}</td>
270270
* <td style="text-align:center">{@link javax.xml.parsers.DocumentBuilderFactory#newDefaultInstance() newDefaultInstance()}</td>
271271
* </tr>
272272
* <tr>
273-
* <th scope="row" style="font-weight:normal" id="SAX">
273+
* <th scope="row" style="font-weight:normal" id="SAXParserFactory">
274274
* {@link javax.xml.parsers.SAXParserFactory SAXParserFactory}
275275
* </th>
276276
* <td style="text-align:center">{@link javax.xml.parsers.SAXParserFactory#newInstance() newInstance()}</td>
@@ -310,15 +310,15 @@
310310
* <td style="text-align:center">{@link javax.xml.transform.TransformerFactory#newDefaultInstance() newDefaultInstance()}</td>
311311
* </tr>
312312
* <tr>
313-
* <th scope="row" style="font-weight:normal" id="Validation">
313+
* <th scope="row" style="font-weight:normal" id="SchemaFactory">
314314
* {@link javax.xml.validation.SchemaFactory SchemaFactory}
315315
* </th>
316316
* <td style="text-align:center">{@link javax.xml.validation.SchemaFactory#newInstance(java.lang.String) newInstance(schemaLanguage)}</td>
317317
* <td style="text-align:center">{@code javax.xml.validation.SchemaFactory:}<i>schemaLanguage</i>[1]</td>
318318
* <td style="text-align:center">{@link javax.xml.validation.SchemaFactory#newDefaultInstance() newDefaultInstance()}</td>
319319
* </tr>
320320
* <tr>
321-
* <th scope="row" style="font-weight:normal" id="XPath">
321+
* <th scope="row" style="font-weight:normal" id="XPathFactory">
322322
* {@link javax.xml.xpath.XPathFactory XPathFactory}
323323
* </th>
324324
* <td style="text-align:center">{@link javax.xml.xpath.XPathFactory#newInstance(java.lang.String) newInstance(uri)}</td>
@@ -759,7 +759,7 @@
759759
* <td style="text-align:center" rowspan="3">Yes</td>
760760
* <td style="text-align:center" rowspan="2">
761761
* <a href="#Transform">Transform</a><br>
762-
* <a href="#XPath">XPath</a>
762+
* <a href="#XPATH">XPath</a>
763763
* </td>
764764
* <td style="text-align:center" rowspan="3">19</td>
765765
* </tr>
@@ -794,7 +794,7 @@
794794
* <td style="text-align:center">Yes</td>
795795
* <td style="text-align:center">
796796
* <a href="#Transform">Transform</a><br>
797-
* <a href="#XPAth">XPath</a>
797+
* <a href="#XPATH">XPath</a>
798798
* </td>
799799
* <td style="text-align:center"><a href="#Processor">Method 2</a></td>
800800
* <td style="text-align:center">8</td>
@@ -816,7 +816,7 @@
816816
* <td style="text-align:center">
817817
* <a href="#Transform">Transform</a><br>
818818
* <a href="#Validation">Validation</a><br>
819-
* <a href="#XPAth">XPath</a>
819+
* <a href="#XPATH">XPath</a>
820820
* </td>
821821
* <td style="text-align:center"><a href="#Processor">Method 2</a></td>
822822
* <td style="text-align:center">9</td>
@@ -929,7 +929,7 @@
929929
*
930930
* <p id="Note4">
931931
* <b>[4]</b> A value "yes" indicates the property is a Security Property. As indicated
932-
* in the <a href="#PP">Property Precedence</a>, the values listed in the column
932+
* in the <a href="#Conf_PP">Property Precedence</a>, the values listed in the column
933933
* {@code enforced} will be used to initialize these properties when
934934
* {@link javax.xml.XMLConstants#FEATURE_SECURE_PROCESSING FSP} is true.
935935
*
@@ -957,7 +957,7 @@
957957
* These legacy property names are <b>deprecated</b> as of JDK 17 and may be removed
958958
* in future releases. If both new and legacy properties are set, the new property
959959
* names take precedence regardless of how and where they are set. The overriding order
960-
* as defined in <a href="#PropPrec">Property Precedence</a> thus becomes:
960+
* as defined in <a href="#Conf_PP">Property Precedence</a> thus becomes:
961961
*
962962
* <ul>
963963
* <li>Value set on factories or processors using new property names.</li>

1 commit comments

Comments
 (1)

openjdk-notifier[bot] commented on Dec 14, 2023

@openjdk-notifier[bot]
Please sign in to comment.