You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-dev@xerces.apache.org by "LiChao (李超)" <li...@founder.com.cn> on 2001/06/29 09:03:10 UTC
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?