Checks consistency of DTD specific references, e.g. references to XML entity or to DTD element declaration. The validation works in DTD or XML file types.