DTD check