Consultor Eletrônico



Kbase P4638: DTD validation of XML file not working with SAX parser
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   10/15/2008
Status: Verified

FACT(s) (Environment):

Progress 9.1D
Windows

SYMPTOM(s):

DTD validation of XML file not working with SAX parser

Calling FatalError doesn't return error

CAUSE:

A validation error invokes the Error callback (not FatalError). The FatalError callback is invoked for an XML document that is not well formed.

FIX:

Modify the application source code and implement the 'Error' callback instead of 'FatalError' callback