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 2007/05/23 07:05:56 UTC
svn commit: r540842 -
/xml/commons/trunk/java/external/src/javax/xml/parsers/DocumentBuilderFactory.java
Author: mrglavas
Date: Tue May 22 22:05:55 2007
New Revision: 540842
URL: http://svn.apache.org/viewvc?view=rev&rev=540842
Log:
Fixing Javadoc typos:
* SAXParserFactory -> DocumentBuilderFactory
* org.w3c.dom.DOMErrorHandler -> org.xml.sax.ErrorHandler
Modified:
xml/commons/trunk/java/external/src/javax/xml/parsers/DocumentBuilderFactory.java
Modified: xml/commons/trunk/java/external/src/javax/xml/parsers/DocumentBuilderFactory.java
URL: http://svn.apache.org/viewvc/xml/commons/trunk/java/external/src/javax/xml/parsers/DocumentBuilderFactory.java?view=diff&rev=540842&r1=540841&r2=540842
==============================================================================
--- xml/commons/trunk/java/external/src/javax/xml/parsers/DocumentBuilderFactory.java (original)
+++ xml/commons/trunk/java/external/src/javax/xml/parsers/DocumentBuilderFactory.java Tue May 22 22:05:55 2007
@@ -396,7 +396,7 @@
* @return
* the {@link Schema} object that was last set through
* the {@link #setSchema(Schema)} method, or null
- * if the method was not invoked since a {@link SAXParserFactory}
+ * if the method was not invoked since a {@link DocumentBuilderFactory}
* is created.
*
* @since 1.5
@@ -422,10 +422,10 @@
* down to the application.
*
* <p>When errors are found by the validator, the parser is responsible
- * to report them to the user-specified {@link org.w3c.dom.DOMErrorHandler}
+ * to report them to the user-specified {@link org.xml.sax.ErrorHandler}
* (or if the error handler is not set, ignore them or throw them), just
* like any other errors found by the parser itself.
- * In other words, if the user-specified {@link org.w3c.dom.DOMErrorHandler}
+ * In other words, if the user-specified {@link org.xml.sax.ErrorHandler}
* is set, it must receive those errors, and if not, they must be
* treated according to the implementation specific
* default error handling rules.