I cannot validate this markup:
<?xml version="1.0" encoding="ISO-8859-1" ?>
<!DOCTYPE entry [
<!ELEMENT entry (title, author,dayname, date, bodytext)>
<!ELEMENT date (day,month,year)>
<!ELEMENT title (#PCDATA)>
<!ELEMENT author (PCDATA)>
<!ELEMENT dayname (#PCDATA)>
<!ELEMENT date (#PCDATA)>
<!ELEMENT body (#PCDATA)>
<!ELEMENT day (#PCDATA)>
<!ELEMENT month (#PCDATA)>
<!ELEMENT year (#PCDATA)> ]>
<!-- This is an XML comment - just like an HTML comment. -->
This file shows a simple data structure, which could be used,
perhaps, for weblog entries -->
The structure has a root node called "entry".
In this example author information has been included as a child within the entry.
In this example date information has been included as a child within the entry.
In this example the date information has itself been broken down into "child" nodes for day, month and year.
Some developers prefer this style
<title>A rainy day</title>
<bodytext>Today it was raining ... more ... more ... </bodytext>
I tried validome.org XML DTD
and it gives me this error: "Markup declarations contained in or pointed to by document type declaration must be well-formed."
How can I fixed it? Is there any other errors? How can I validate it?