Re: Parsing external DTDs

Hi Lars -

> It's a bug in your DTD, yes. :-) You've forgotten to actually
> reference the %External2; parameter entity.

Arrrrghh! Thanks, can I have my hours back now?

For others that might be having trouble finding some basic examples out
there, "External1" should have been:

  -----------------------

  <?xml version="1.0" encoding="UTF-8"?>
  <!ENTITY % External2 SYSTEM "External2.dtd">
  <!ELEMENT External1 (item, External2)>
  <!ELEMENT item (#PCDATA)>
  %External2;

  -----------------------

Sure wish the spec or FAQ had some more complete examples...

Mark Robinson

Received on Tuesday, 10 November 1998 08:06:48 UTC