Re: RFR(JDK12/JAXP/java.xml) 8209873: Typo in javax.xml.validation.Validator.validate​ documentation

Lance Andersen lance.andersen at oracle.com
Thu Aug 23 19:34:24 UTC 2018


+1
> On Aug 23, 2018, at 3:27 PM, Joe Wang <huizhe.wang at oracle.com> wrote:
> 
> 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
> 

 <http://oracle.com/us/design/oracle-email-sig-198324.gif>
 <http://oracle.com/us/design/oracle-email-sig-198324.gif> <http://oracle.com/us/design/oracle-email-sig-198324.gif>
 <http://oracle.com/us/design/oracle-email-sig-198324.gif>Lance Andersen| Principal Member of Technical Staff | +1.781.442.2037
Oracle Java Engineering 
1 Network Drive 
Burlington, MA 01803
Lance.Andersen at oracle.com <mailto:Lance.Andersen at oracle.com>





More information about the core-libs-dev mailing list