la cuestion es que tengo el siguiente codigo como esquema del DTD
Código:
y la definiciones en el XML estan de la siguiente manera<!DOCTYPE phases [ <!ELEMENT phases (enviroment)*> <!ELEMENT environment (files)> <!ELEMENT files (file)> <!ATTLIST enviroment name ID "default"> ]>
Código:
pero obtengo los mensajes: <phases>
<environment name="value">
<files>
<file>ruta del fichero
<url>http://www.forosdelweb.com/</url>
</file>
<file>Otro fichero
<url>htt://www.google.es</url>
</file>
</files>
</environment>
</phases>
-phases must match enviroment
-a name must be declared for element type enviroment
-The element of type "files" must match file
he estado siguiendo varios tutoriales (el ultimo http://www.roseindia.net/xml/Xml_DTD_Attributes.shtml) y no veo que tengo mal


