diff --git a/src/java.xml/share/classes/org/w3c/dom/ls/LSOutput.java b/src/java.xml/share/classes/org/w3c/dom/ls/LSOutput.java
index b69f8d8f367..f458f540e53 100644
--- a/src/java.xml/share/classes/org/w3c/dom/ls/LSOutput.java
+++ b/src/java.xml/share/classes/org/w3c/dom/ls/LSOutput.java
@@ -117,19 +117,19 @@ public interface LSOutput {
/**
* The character encoding to use for the output. The encoding must be a
- * string acceptable for an XML encoding declaration ([XML 1.0] section
+ * string acceptable for an XML encoding declaration ([XML 1.0] section
* 4.3.3 "Character Encoding in Entities"), it is recommended that
* character encodings registered (as charsets) with the Internet
- * Assigned Numbers Authority [IANA-CHARSETS]
+ * Assigned Numbers Authority [IANA-CHARSETS]
* should be referred to using their registered names.
*/
public String getEncoding();
/**
* The character encoding to use for the output. The encoding must be a
- * string acceptable for an XML encoding declaration ([XML 1.0] section
+ * string acceptable for an XML encoding declaration ([XML 1.0] section
* 4.3.3 "Character Encoding in Entities"), it is recommended that
* character encodings registered (as charsets) with the Internet
- * Assigned Numbers Authority [IANA-CHARSETS]
+ * Assigned Numbers Authority [IANA-CHARSETS]
* should be referred to using their registered names.
*/
public void setEncoding(String encoding);