You are viewing a plain text version of this content. The canonical link for it is here.
Posted to j-users@xerces.apache.org by Paul Flanagan <pa...@onetel.net.uk> on 2001/04/06 22:13:36 UTC

MissingResourceException

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