Consultor Eletrônico



Kbase P29629: What does VALIDATION-ENABLED attribute of the SAX parser do?
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   7/7/2003
Status: Unverified

GOAL:

What does VALIDATION-ENABLED attribute of the SAX parser do?

FIX:

The VALIDATION-ENABLED attribute determines whether or not the SAX parser validates an XML document against a specified DTD.

It is set to TRUE by default, enabling validation against a DTD.

If validation is set to FALSE, then the DTD is still referenced to obtain information on the entities in the XML document, ensuring that the document is well-formed.

Therefore whatever VALIDATION-ENABLED is set to, the SAX parser will always check for the DTD that is specified.