1818 *<ul>
1919 * <li>Document Type Declarations (DTD); that is "<!DOCTYPE>" directive
2020 * </li>
21- * <li>XML Comments (in Document prolog, before the root element)
21+ * <li>Comments (in Document prolog, before the root element)
22+ * </li>
23+ * <li>Processing Instructions (PIs; in Document prolog, before the root element)
2224 * </li>
2325 * </ul>
2426 *<p>
@@ -57,7 +59,7 @@ public XmlGeneratorInitializer linefeedsBetweenPrologDirectives(boolean addLFs)
5759
5860 /**
5961 * Method for adding XML comment; to be written at position added
60- * with respective to other directives
62+ * relative to other directives
6163 * (but always after XML Declaration which must come before any other output;
6264 * and before Document Root element)
6365 *
@@ -89,7 +91,7 @@ public XmlGeneratorInitializer addDTD(String rootName,
8991
9092 /**
9193 * Method for adding Document Type Declaration (DTD) directive; to
92- * be written at position added with respective to other directives
94+ * be written at position added relative to other directives
9395 * (but always after XML Declaration which must come before any other output;
9496 * and before Document Root element)
9597 *
@@ -107,7 +109,7 @@ public XmlGeneratorInitializer addDTD(DTD dtd) {
107109
108110 /**
109111 * Method for adding XML Processing Instruction (PI); to be written at
110- * position added with respective to other directives
112+ * position added relative to other directives
111113 * (but always after XML Declaration which must come before any other output;
112114 * and before Document Root element)
113115 *
0 commit comments