James Tauber jtauber at
Wed Sep 2 11:16:04 BST 1998

-----Original Message-----
From: Peter Jones <peterj at>

>Can I just check the following with folks on the list
>I have what I would like to be a well-formed, but not valid, document:
><!DOCTYPE mydocname [
><!ENTITY  entityname  "Some replacement text">
>If I have to include a !DOCTYPE declaration in order to declare
>entities, am I also forced to declare the root element with an !ELEMENT
>decl. too?

No, not at all. What you have above is well-formed, but not valid, just as
you want.

James Tauber / jtauber at
Lecturer and Associate Researcher
Electronic Commerce Network             (
Curtin Business School                  (
Perth, Western Australia                (

xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev at
Archived as:
To (un)subscribe, mailto:majordomo at the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo at the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa at

More information about the Xml-dev mailing list