Review Error Message categories
-------------------------------

         Key: XERCESC-1558
         URL: http://issues.apache.org/jira/browse/XERCESC-1558
     Project: Xerces-C++
        Type: Task
  Components: Miscellaneous  
    Reporter: cargilld


Fixes have been made recently to the 2.7 and 3.0 branch to report the actual 
errorCode of a message instead of
XMLErrs::DisplayErrorMessage.  Before the fix, the code was catching an 
exception and then emitting a new error with the XMLErrs::DisplayErrorMessage 
which took the message text from the original error.  This means that the 
original errorCode was lost (ie. all errors are displayed as 
XMLErrs::DisplayErrorMessage).  The change allows the original errorCode to be 
used.  The fixed routine in void XSDErrorReporter::emitError(const 
XMLException&  except, const Locator* const aLocator) originally also took the 
errorType off of the exception.  However, this resulted in a number of messages 
being emitted as fatal errors instead of errors (XMLErrs:DisplayErrorMessage is 
an error not a fatal error).  If the original messages were meant to be errors 
instead of fatal errors then the message file should be updated so that they 
are in the correct category.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to