Can anyone help me?  My Xerces parser is able to parse a Well-formed document using the code, with no problems.
 
    try
    {
      parser.parse( fn ) ;
    }
    catch( Exception e )
    {
      consoleOutput( e + ":  Exception invoking parser", 0 ) ;
    }
 
However, when I try to parse an xml file that is not well-formed, I get the Exception:
 
java.util.MissingResourceException: can't find resource for org.apache.xerces.msg.XMLMessages_en_GB
 
I have registered an error handler with:  parser.setErrorHandler( new xmlErrorHandler() ) ; 
and I believe I should be receiving details of where the error is in the file with the error handler. 
 
Many thanks
 
Paul

Reply via email to