You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commons-cvs@xml.apache.org by mr...@apache.org on 2009/12/09 18:36:47 UTC

svn commit: r888884 - /xml/commons/trunk/java/external/src/javax/xml/validation/Validator.java

Author: mrglavas
Date: Wed Dec  9 17:36:46 2009
New Revision: 888884

URL: http://svn.apache.org/viewvc?rev=888884&view=rev
Log:
Javadoc update: JAXP 1.4 requires that Validator accepts StAXSource and StreamSource.

Modified:
    xml/commons/trunk/java/external/src/javax/xml/validation/Validator.java

Modified: xml/commons/trunk/java/external/src/javax/xml/validation/Validator.java
URL: http://svn.apache.org/viewvc/xml/commons/trunk/java/external/src/javax/xml/validation/Validator.java?rev=888884&r1=888883&r2=888884&view=diff
==============================================================================
--- xml/commons/trunk/java/external/src/javax/xml/validation/Validator.java (original)
+++ xml/commons/trunk/java/external/src/javax/xml/validation/Validator.java Wed Dec  9 17:36:46 2009
@@ -183,9 +183,11 @@
      * 
      * @throws IllegalArgumentException
      *      If the {@link Result} type doesn't match the {@link Source} type,
-     *      or if the specified source is neither
-     *      {@link javax.xml.transform.sax.SAXSource} nor
-     *      {@link javax.xml.transform.dom.DOMSource}. 
+     *      or if the specified source is not a
+     *      {@link javax.xml.transform.sax.SAXSource},
+     *      {@link javax.xml.transform.dom.DOMSource},
+     *      {@link javax.xml.transform.stax.StAXSource} or
+     *      {@link javax.xml.transform.stream.StreamSource}. 
      * 
      * @throws SAXException
      *      If the {@link ErrorHandler} throws a {@link SAXException} or