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


Help: OASIS Mailing Lists Help | MarkMail Help



   Re: Standalone documents as external parsed entities.

[ Lists Home | Date Index | Thread Index ]
  • From: John Cowan <cowan@locke.ccil.org>
  • To: XML Dev <xml-dev@ic.ac.uk>
  • Date: Mon, 12 Apr 1999 12:46:52 -0400

Alan Kennedy wrote:

> >From my reading of the XML 1.0 spec, it is not possible to have a
> standalone document, with it's own DTD, "included" in another document
> as an external parsed entity.
> Am I wrong?

You are right.

The nearest you can come in a formal sense is to declare your
standalone document as an *unparsed* entity.   Note that
"unparsed" != "unparsable".

Then you need an application framework capable of recursively
parsing unparsed entities using XML notation, which AFAIK does
not yet exist.

As for your specific problem, if your documents conform to
random DTDs, you have much worse problems than the rules about
external entities.  What is a member name?  What is a country?

What is the format of your original documents?  Can you make
them conform to a single DTD, like say XHTML 1.0?

XAF (http://www.megginson.com/XAF) may be helpful.

John Cowan	http://www.ccil.org/~cowan		cowan@ccil.org
	You tollerday donsk?  N.  You tolkatiff scowegian?  Nn.
	You spigotty anglease?  Nnn.  You phonio saxo?  Nnnn.
		Clear all so!  'Tis a Jute.... (Finnegans Wake 16.5)

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/ and on CD-ROM/ISBN 981-02-3594-1
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