You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xerces.apache.org by tn...@apache.org on 2001/07/16 15:15:08 UTC
cvs commit: xml-xerces/c/src/parsers DOMParser.hpp IDOMParser.hpp
tng 01/07/16 06:15:08
Modified: c/src/parsers DOMParser.hpp IDOMParser.hpp
Log:
[Bug 2410] DOMParser::parse() throws undocumented exceptions.
Revision Changes Path
1.26 +21 -3 xml-xerces/c/src/parsers/DOMParser.hpp
Index: DOMParser.hpp
===================================================================
RCS file: /home/cvs/xml-xerces/c/src/parsers/DOMParser.hpp,v
retrieving revision 1.25
retrieving revision 1.26
diff -u -r1.25 -r1.26
--- DOMParser.hpp 2001/07/16 12:52:09 1.25
+++ DOMParser.hpp 2001/07/16 13:15:07 1.26
@@ -55,7 +55,7 @@
*/
/*
- * $Id: DOMParser.hpp,v 1.25 2001/07/16 12:52:09 tng Exp $
+ * $Id: DOMParser.hpp,v 1.26 2001/07/16 13:15:07 tng Exp $
*
*/
@@ -551,7 +551,14 @@
* @param reuseGrammar The flag indicating whether the existing Grammar
* should be reused or not for this parsing run.
* If true, there cannot be any internal subset.
- * @see Parser#parse(InputSource)
+ * @exception SAXException Any SAX exception, possibly
+ * wrapping another exception.
+ * @exception XMLException An exception from the parser or client
+ * handler code.
+ * @exception DOM_DOMException A DOM exception as per DOM spec.
+ * @see InputSource#InputSource
+ * @see #setEntityResolver
+ * @see #setErrorHandler
*/
void parse(const InputSource& source, const bool reuseGrammar = false);
@@ -567,7 +574,12 @@
* should be reused or not for this parsing run.
* If true, there cannot be any internal subset.
*
- * @see Parser#parse(XMLCh*)
+ * @exception SAXException Any SAX exception, possibly
+ * wrapping another exception.
+ * @exception XMLException An exception from the parser or client
+ * handler code.
+ * @exception DOM_DOMException A DOM exception as per DOM spec.
+ * @see #parse(InputSource,...)
*/
void parse(const XMLCh* const systemId, const bool reuseGrammar = false);
@@ -581,6 +593,12 @@
* @param reuseGrammar The flag indicating whether the existing Grammar
* should be reused or not for this parsing run.
* If true, there cannot be any internal subset.
+ * @exception SAXException Any SAX exception, possibly
+ * wrapping another exception.
+ * @exception XMLException An exception from the parser or client
+ * handler code.
+ * @exception DOM_DOMException A DOM exception as per DOM spec.
+ * @see #parse(InputSource,...)
*/
void parse(const char* const systemId, const bool reuseGrammar = false);
1.6 +22 -3 xml-xerces/c/src/parsers/IDOMParser.hpp
Index: IDOMParser.hpp
===================================================================
RCS file: /home/cvs/xml-xerces/c/src/parsers/IDOMParser.hpp,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- IDOMParser.hpp 2001/07/16 12:52:09 1.5
+++ IDOMParser.hpp 2001/07/16 13:15:07 1.6
@@ -55,7 +55,7 @@
*/
/*
- * $Id: IDOMParser.hpp,v 1.5 2001/07/16 12:52:09 tng Exp $
+ * $Id: IDOMParser.hpp,v 1.6 2001/07/16 13:15:07 tng Exp $
*
*/
@@ -530,7 +530,14 @@
* @param reuseGrammar The flag indicating whether the existing Grammar
* should be reused or not for this parsing run.
* If true, there cannot be any internal subset.
- * @see Parser#parse(InputSource)
+ * @exception SAXException Any SAX exception, possibly
+ * wrapping another exception.
+ * @exception XMLException An exception from the parser or client
+ * handler code.
+ * @exception IDOM_DOMException A DOM exception as per DOM spec.
+ * @see InputSource#InputSource
+ * @see #setEntityResolver
+ * @see #setErrorHandler
*/
void parse(const InputSource& source, const bool reuseGrammar = false);
@@ -546,7 +553,12 @@
* should be reused or not for this parsing run.
* If true, there cannot be any internal subset.
*
- * @see Parser#parse(XMLCh*)
+ * @exception SAXException Any SAX exception, possibly
+ * wrapping another exception.
+ * @exception XMLException An exception from the parser or client
+ * handler code.
+ * @exception DOM_DOMException A DOM exception as per DOM spec.
+ * @see #parse(InputSource,...)
*/
void parse(const XMLCh* const systemId, const bool reuseGrammar = false);
@@ -560,6 +572,13 @@
* @param reuseGrammar The flag indicating whether the existing Grammar
* should be reused or not for this parsing run.
* If true, there cannot be any internal subset.
+ *
+ * @exception SAXException Any SAX exception, possibly
+ * wrapping another exception.
+ * @exception XMLException An exception from the parser or client
+ * handler code.
+ * @exception DOM_DOMException A DOM exception as per DOM spec.
+ * @see #parse(InputSource,...)
*/
void parse(const char* const systemId, const bool reuseGrammar = false);
---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-cvs-help@xml.apache.org