Root element type can not be explicitly declared in the Dtd. This is done in the document’s Document Type Declaration, not in the DTD.
I use xmlValidateDtd function t