EAD in XML mode is case-sensitive (in fact XML is case-sensitive). When you
convert using SX (in the SP suite) and request lowercase, it does not
lowercase "EAD" in the doctype declaration. Change "EAD" to lowercase,
"ead," and make sure there is a System Identifier to tell XMetal where to
find the DTD.
<!DOCTYPE ead SYSTEM "c:\mydtds\xml.dtd">
At 12:18 PM 8/30/00 -0400, you wrote:
>We're currently in the process of converting our SGML files to HTML, with
>the goal of ultimately posting to our website.
>I've been trying the method suggested by the EAD Cookbook which suggests
>using SP for the SGML conversion to XML, then using XMetaL for the XML
>conversion to HTML. My original SGML documents were created using
>The SGML to XML conversion seems to have occured properly but I'm having a
>problem with the XML documents in XMetaL. Whenever I try to open an XML
>file (or try to open a new document) I get this message in the Validation Box:
>Error in the Document Type Declaration in the document. Bad
>DOCTYPE. Document type name "EAD", must be a tag name in the rules file.
>I've been using the rules file for xml that was available with the
>Cookbook (ead.rlx). Is there a way to alter this rules file to fix this
>or is there some other problem that I'm not addressing?
>Thanks for your time,
>National Gallery of Canada, Library and Archives
Daniel V. Pitti Project Director
Institute for Advanced Technology in the Humanities
Alderman Library University of Virginia Charlottesville, Virginia 22903
Phone: 804 924-6594 Fax: 804 982-2363 Email: [log in to unmask]