Kbase P63186: SAX Parser fails to validate against an external DTD document
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  2/3/2009 |
|
Status: Verified
SYMPTOM(s):
SAX Parser fails to validate against an external DTD document
Parsing runs and completes with no indication of validation failures
FACT(s) (Environment):
OpenEdge 10.0A
All Supported Operating Systems
CAUSE:
The validation error is in fact caught, however, it is caught in the "Error" callback routine and the application does not have an "Error" callback routine defined
FIX:
Add an "Error" callback routine to your application code. As an example, use the following:
PROCEDURE Error:
DEFINE INPUT PARAMETER ErrMessage AS CHARACTER NO-UNDO.
/* Do Something About The Error Here */
RETURN ERROR "Some Error Message Goes Here".
END PROCEDURE.