Entity declarations

John Cowan cowan at locke.ccil.org
Fri Aug 28 17:01:30 BST 1998


Peter Jones scripsit:

> Can anyone also confirm whether, for a document instance without a DTD,
> I can have free-standing <!ENTITY...> declarations. I.e. entity
> declarations that are not inside a Doctype declaration?

No, you can't.  Declarations other than DOCTYPE declarations can only
occur within a DOCTYPE declaration (the internal subset) or within an
external entity referred to from a DOCTYPE declaration (the external subset).

The DTD (document type definition) is precisely the set of declarations,
so talking of declarations in a document instance "without a DTD" is a
contradiction in terms.

-- 
John Cowan					cowan at ccil.org
		e'osai ko sarji la lojban.

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




More information about the Xml-dev mailing list