You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xerces.apache.org by el...@apache.org on 2003/06/10 19:28:27 UTC
cvs commit: xml-xerces/java/src/org/apache/xml/serialize DOMWriterImpl.java
elena 2003/06/10 10:28:27
Modified: java/src/org/apache/xml/serialize DOMWriterImpl.java
Log:
Fix a small bug in the latest commit
Revision Changes Path
1.15 +5 -2 xml-xerces/java/src/org/apache/xml/serialize/DOMWriterImpl.java
Index: DOMWriterImpl.java
===================================================================
RCS file: /home/cvs/xml-xerces/java/src/org/apache/xml/serialize/DOMWriterImpl.java,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -r1.14 -r1.15
--- DOMWriterImpl.java 10 Jun 2003 13:41:29 -0000 1.14
+++ DOMWriterImpl.java 10 Jun 2003 17:28:27 -0000 1.15
@@ -189,6 +189,8 @@
throw new DOMException(DOMException.NOT_SUPPORTED_ERR, msg);
}
}
+ else {
+
// REVISIT: modify error exception to TYPE_MISMATCH
String msg = DOMMessageFormatter.formatMessage(
DOMMessageFormatter.DOM_DOMAIN,
@@ -196,7 +198,8 @@
new Object[] { name });
throw new DOMException(DOMException.NOT_FOUND_ERR, msg);
}
- else if (name.equals(Constants.DOM_ERROR_HANDLER)) {
+ }
+ else if (name.equals(Constants.DOM_ERROR_HANDLER)) {
if (value instanceof DOMErrorHandler) {
serializer.fDOMErrorHandler = (DOMErrorHandler) value;
}
---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-cvs-help@xml.apache.org