DTD definition error
Posted
by Geln Yang
on Stack Overflow
See other posts from Stack Overflow
or by Geln Yang
Published on 2010-05-10T08:32:57Z
Indexed on
2010/05/10
9:04 UTC
Read the original article
Hit count: 276
Hi,
It will get a error to define a dtd as follow:
<!ELEMENT line (property*)>
<!ATTLIST line showType (1|?|+|*) "1" >
The error:
The name token is required in the enumerated type list for the "showType" attribute declaration.
It seems the value can't be special characters,such as "?","+","*". To change the characters to Latin-1 characters, like "& #42;"(add a blank before '#') , get the same error.
How to resolve this problem?
Thanks!
© Stack Overflow or respective owner