[prev in list] [next in list] [prev in thread] [next in thread]
List: xml-apache-general
Subject: Re: Are DTD elements hierarchical?
From: "Sean Kelly" <kelly () ad1440 ! net>
Date: 2000-08-28 22:52:34
[Download RAW message or body]
Are DTD elements hierarchical?????????Yes, your "name" element is defined
twice in your DTD, which is illegal.
You can have your "name" element occur at multiple levels---there's no
problem with that. But the "name" element has to have the same content
model (PCDATA in your case) no matter where it occurs.
So pick one of your
<!ELEMENT name (#PCDATA)>
lines in your DTD and delete it. It doesn't matter which one.
--Sean
---------------------------------------------------------------------
In case of troubles, e-mail: webmaster@xml.apache.org
To unsubscribe, e-mail: general-unsubscribe@xml.apache.org
For additional commands, e-mail: general-help@xml.apache.org
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic