tng 2003/01/09 11:53:45
Modified: c/src/xercesc/dom/impl DOMWriterImpl.cpp
Log:
[Bug 15372] DOMBuilder::parseFromURI ignores result of handleErrors.
Revision Changes Path
1.26 +6 -3 xml-xerces/c/src/xercesc/dom/impl/DOMWriterImpl.cpp
Index: DOMWriterImpl.cpp
===================================================================
RCS file: /home/cvs/xml-xerces/c/src/xercesc/dom/impl/DOMWriterImpl.cpp,v
retrieving revision 1.25
retrieving revision 1.26
diff -u -r1.25 -r1.26
--- DOMWriterImpl.cpp 10 Dec 2002 21:01:32 -0000 1.25
+++ DOMWriterImpl.cpp 9 Jan 2003 19:53:45 -0000 1.26
@@ -57,6 +57,9 @@
/*
* $Id$
* $Log$
+ * Revision 1.26 2003/01/09 19:53:45 tng
+ * [Bug 15372] DOMBuilder::parseFromURI ignores result of handleErrors.
+ *
* Revision 1.25 2002/12/10 21:01:32 tng
* NLS: DOMWriter should use message loader to load message instead of using
hardcoded static stirng
*
@@ -385,7 +388,7 @@
, DOMError::DOM_SEVERITY_FATAL_ERROR \
, e.getMessage()) || \
forceToRethrow) \
- throw; \
+ throw e; \
}
DOMWriterImpl::~DOMWriterImpl()
@@ -1249,7 +1252,7 @@
fErrorCount++;
- if (errorType == DOMError::DOM_SEVERITY_FATAL_ERROR)
+ if (errorType == DOMError::DOM_SEVERITY_FATAL_ERROR || !toContinueProcess)
throw toEmit;
return toContinueProcess;
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]