>Agreed, spec says that external-general-entities cannot be false when >validation is true but what will be behaviour of the praser when validation is >true and external-general-entities is false ??
You just said the exact same thing twice, so I don't understand what you are asking. A validating processor must process all entities when reporting validation errors, so when validation is true the parser must always process any external entity that the document references (including the implicit reference to the external DTD subset). When validation is false, the processor must still process all external entities because the Xerces parser is a validating parser even when not reporting validation errors. However, if you are not reporting validation errors (validation feature is false) then you are permitted to request that the parser not process external entities (either general entities, parameter entities including the external DTD subset, or both). This is done by setting the corresponding features to false. The parser will then no longer conform to the XML specification for validating XML processor behavior, which could cause processing problems since the parser will most likely not be reporting the correct information set for the document. -Glenn --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
