Win a copy of Learn Spring Security (video course) this week in the Spring forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

DTD not well formed

 
Veena Pointi
Ranch Hand
Posts: 442
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
<?xml version="1.0" encoding="UTF-8"?>
<!--DTD generated by XMLSPY v2004 rel. 4 U (http://www.xmlspy.com)-->
<!ELEMENT TABLES (TABLE*)>
<!ELEMENT TABLE (COLUMN)>
<!ATTLIST TABLE
name ID #REQUIRED
>

<!ELEMENT COLUMN(#PCDATA)>
<!ATTLIST COLUMN
ID ID #REQUIRED
>

In the above code I get the following error
The file is not well formed.Whitespace(blank,tab,CR,LF)expected

I am unable to locate problem.What might be causing this error?

Thanks in advance

Veena
[ October 22, 2004: Message edited by: Veena Point ]
 
Udayan Patel
Ranch Hand
Posts: 94
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Veena Point:
<?xml version="1.0" encoding="UTF-8"?>
<!--DTD generated by XMLSPY v2004 rel. 4 U (http://www.xmlspy.com)-->
<!ELEMENT TABLES (TABLE*)>
<!ELEMENT TABLE (COLUMN)>
<!ATTLIST TABLE
name ID #REQUIRED
>

<!ELEMENT COLUMN(#PCDATA)>
<!ATTLIST COLUMN
ID ID #REQUIRED
>

In the above code I get the following error
The file is not well formed.Whitespace(blank,tab,CR,LF)expected

I am unable to located problem.What might be the problem?

Thanks in advance

Veena


need a space as follow ELEMENT COLUMN (#PCDATA)
 
Veena Pointi
Ranch Hand
Posts: 442
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks a lot.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic