Hi,
The documentation of XMLReader's setContentHandler(contentHandler) says it should throw a NullPointerException if the 'contentHandler' passed is null. The current implementation (AbstractSAXParser's setContenthandler()) doesn't throw an NPE. Also, the same is the case with setErrorHandler(). The documentation in AbstractSAXParser and DOMParser says it should but it doesn't. SAX1 doesn't say that an NPE should be thrown, but SAX2 does. Is this method following SAX1 ? or SAX2 ? Please clarify. Thanks, Pavani -- Pavani Mukthipudi Sun Microsystems Inc. Phone: 080 - 2298989 Extn: 87390 --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
