mrglavas 2004/04/13 08:08:08 Modified: java/src/org/apache/xerces/parsers DOMParserImpl.java Log: Fixing Bug #28288:
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=28288 Fixing W3C LS test case failure: noinputspecified01. DOMParserImpl was throwing a NullPointerException. Should be calling handleError on the DOMErrorHandler enclosed by the wrapper. This is fixed thanks to the patch by Naela Nissar. Revision Changes Path 1.22 +2 -2 xml-xerces/java/src/org/apache/xerces/parsers/DOMParserImpl.java Index: DOMParserImpl.java =================================================================== RCS file: /home/cvs/xml-xerces/java/src/org/apache/xerces/parsers/DOMParserImpl.java,v retrieving revision 1.21 retrieving revision 1.22 diff -u -r1.21 -r1.22 --- DOMParserImpl.java 24 Mar 2004 21:32:43 -0000 1.21 +++ DOMParserImpl.java 13 Apr 2004 15:08:08 -0000 1.22 @@ -942,7 +942,7 @@ error.fType = "no-input-specified"; error.fMessage = "no-input-specified"; error.fSeverity = DOMError.SEVERITY_FATAL_ERROR; - fErrorHandler.handleError(error); + fErrorHandler.getErrorHandler().handleError(error); } throw new LSException(LSException.PARSE_ERR, "no-input-specified"); } --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]