Title: Validate DTD

How to Validate a DTD?

Suppose I defined a DTD like this:
<!Element Root(head,body)>
<!Element head(#PCDATA)>

It is obvious that I forgot to define the "body" Element. But how does the xerces know it?

Is there any way to detect the DTD syntax error?

Reply via email to