diff --git a/src/java.xml/share/classes/javax/xml/XMLConstants.java b/src/java.xml/share/classes/javax/xml/XMLConstants.java
index d9851d88972..172b752664f 100644
--- a/src/java.xml/share/classes/javax/xml/XMLConstants.java
+++ b/src/java.xml/share/classes/javax/xml/XMLConstants.java
@@ -258,7 +258,7 @@ public final class XMLConstants {
*
* Configuration File:
* Yes. The property can be set in the
- * configuration file.
+ * configuration file.
*
* @since 1.7
*/
@@ -283,7 +283,7 @@ public final class XMLConstants {
*
* Configuration File:
* Yes. The property can be set in the
- * configuration file.
+ * configuration file.
*
* @since 1.7
*/
@@ -310,7 +310,7 @@ public final class XMLConstants {
*
* Configuration File:
* Yes. The property can be set in the
- * configuration file.
+ * configuration file.
*
* @since 1.7
*/
@@ -345,7 +345,7 @@ public final class XMLConstants {
*
* Configuration File:
* Yes. The property can be set in the
- * configuration file.
+ * configuration file.
*
* @since 9
*/
diff --git a/src/java.xml/share/classes/javax/xml/stream/XMLEventFactory.java b/src/java.xml/share/classes/javax/xml/stream/XMLEventFactory.java
index 5c8713f614d..6ca9768915c 100644
--- a/src/java.xml/share/classes/javax/xml/stream/XMLEventFactory.java
+++ b/src/java.xml/share/classes/javax/xml/stream/XMLEventFactory.java
@@ -135,7 +135,7 @@ public abstract class XMLEventFactory {
*
*
* Use the value of the property {@code factoryId} set in the
- * configuration file,
+ * configuration file,
* jaxp.properties by default. If the file exists and the property {@code factoryId}
* is specified in the file, its value will be used as the implementation class.
*
diff --git a/src/java.xml/share/classes/javax/xml/stream/XMLInputFactory.java b/src/java.xml/share/classes/javax/xml/stream/XMLInputFactory.java
index 1d6c1bfac53..32d6c3c384a 100644
--- a/src/java.xml/share/classes/javax/xml/stream/XMLInputFactory.java
+++ b/src/java.xml/share/classes/javax/xml/stream/XMLInputFactory.java
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2009, 2021, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2009, 2023, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
@@ -222,7 +222,7 @@ public abstract class XMLInputFactory {
*
*
* Use the value of the property {@code factoryId} set in the
- * configuration file,
+ * configuration file,
* jaxp.properties by default. If the file exists and the property {@code factoryId}
* is specified in the file, its value will be used as the implementation class.
*
diff --git a/src/java.xml/share/classes/javax/xml/stream/XMLOutputFactory.java b/src/java.xml/share/classes/javax/xml/stream/XMLOutputFactory.java
index 7b70e2ba6cb..a838743fd54 100644
--- a/src/java.xml/share/classes/javax/xml/stream/XMLOutputFactory.java
+++ b/src/java.xml/share/classes/javax/xml/stream/XMLOutputFactory.java
@@ -197,7 +197,7 @@ public abstract class XMLOutputFactory {
*
*
* Use the value of the property {@code factoryId} set in the
- * configuration file,
+ * configuration file,
* jaxp.properties by default. If the file exists and the property {@code factoryId}
* is specified in the file, its value will be used as the implementation class.
*
diff --git a/src/java.xml/share/classes/module-info.java b/src/java.xml/share/classes/module-info.java
index 0ed2ebfbe26..78ae9561519 100644
--- a/src/java.xml/share/classes/module-info.java
+++ b/src/java.xml/share/classes/module-info.java
@@ -39,7 +39,7 @@
* User-defined Configuration File
*
*
- * Property Precedence
+ * Property Precedence
*
*
* JAXP Lookup Mechanism
@@ -101,7 +101,7 @@
* JAXP Properties,
* System Properties,
* and the JAXP Configuration File, and sets the values
- * following the Property Precedence. The terminologies and
+ * following the Property Precedence. The terminologies and
* process are defined below.
*
* JAXP Properties
@@ -168,7 +168,7 @@
* proceeds as if the {@code java.xml.config.file} property was not set.
* Implementations may optionally issue a warning message.
*
- * Property Precedence
+ * Property Precedence
* JAXP properties can be set in multiple ways, including by API methods, system
* properties, and the JAXP Configuration File. When not
* explicitly set, they will be initialized with default values or more restrictive
@@ -262,7 +262,7 @@
* {@link javax.xml.datatype.DatatypeFactory#newDefaultInstance() newDefaultInstance()} |
*
*
- * |
+ * |
* {@link javax.xml.parsers.DocumentBuilderFactory DocumentBuilderFactory}
* |
* {@link javax.xml.parsers.DocumentBuilderFactory#newInstance() newInstance()} |
@@ -270,7 +270,7 @@
* {@link javax.xml.parsers.DocumentBuilderFactory#newDefaultInstance() newDefaultInstance()} |
*
*
- * |
+ * |
* {@link javax.xml.parsers.SAXParserFactory SAXParserFactory}
* |
* {@link javax.xml.parsers.SAXParserFactory#newInstance() newInstance()} |
@@ -310,7 +310,7 @@
* {@link javax.xml.transform.TransformerFactory#newDefaultInstance() newDefaultInstance()} |
*
*
- * |
+ * |
* {@link javax.xml.validation.SchemaFactory SchemaFactory}
* |
* {@link javax.xml.validation.SchemaFactory#newInstance(java.lang.String) newInstance(schemaLanguage)} |
@@ -318,7 +318,7 @@
* {@link javax.xml.validation.SchemaFactory#newDefaultInstance() newDefaultInstance()} |
*
*
- * |
+ * |
* {@link javax.xml.xpath.XPathFactory XPathFactory}
* |
* {@link javax.xml.xpath.XPathFactory#newInstance(java.lang.String) newInstance(uri)} |
@@ -759,7 +759,7 @@
* Yes |
*
* Transform
- * XPath
+ * XPath
* |
* 19 |
*
@@ -794,7 +794,7 @@
* Yes |
*
* Transform
- * XPath
+ * XPath
* |
* Method 2 |
* 8 |
@@ -816,7 +816,7 @@
*
* Transform
* Validation
- * XPath
+ * XPath
* |
* Method 2 |
* 9 |
@@ -929,7 +929,7 @@
*
*
* [4] A value "yes" indicates the property is a Security Property. As indicated
- * in the Property Precedence, the values listed in the column
+ * in the Property Precedence, the values listed in the column
* {@code enforced} will be used to initialize these properties when
* {@link javax.xml.XMLConstants#FEATURE_SECURE_PROCESSING FSP} is true.
*
@@ -957,7 +957,7 @@
* These legacy property names are deprecated as of JDK 17 and may be removed
* in future releases. If both new and legacy properties are set, the new property
* names take precedence regardless of how and where they are set. The overriding order
- * as defined in Property Precedence thus becomes:
+ * as defined in Property Precedence thus becomes:
*
*
* - Value set on factories or processors using new property names.