OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help



   Re: Entity declarations

[ Lists Home | Date Index | Thread Index ]
  • From: John Cowan <cowan@locke.ccil.org>
  • To: xml-dev@ic.ac.uk
  • Date: Fri, 28 Aug 1998 11:03:38 -0400 (EDT)

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@ccil.org
		e'osai ko sarji la lojban.

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


News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS