RFR(JDK12/JAXP/java.xml) 8209873: Typo in javax.xml.validation.Validator.validate documentation
Joe Wang
huizhe.wang at oracle.com
Thu Aug 23 19:27:29 UTC 2018
Hi,
Please review a quick fix for a typo in javax.xml.validation.Validator:
diff --git
a/src/java.xml/share/classes/javax/xml/validation/Validator.java
b/src/java.xml/share/classes/javax/xml/validation/Validator.java
--- a/src/java.xml/share/classes/javax/xml/validation/Validator.java
+++ b/src/java.xml/share/classes/javax/xml/validation/Validator.java
@@ -214,7 +214,7 @@
*
* @throws IllegalArgumentException
* If the {@code Result} type doesn't match the
- * {@code Source} type of if the {@code Source}
+ * {@code Source} type or if the {@code Source}
* is an XML artifact that the implementation cannot
* validate (for example, a processing instruction).
* @throws SAXException
JBS: https://bugs.openjdk.java.net/browse/JDK-8209873
Thanks,
Joe
More information about the core-libs-dev
mailing list