W3C home > Mailing lists > Public > www-dom@w3.org > October to December 1998

Re: Parsing external DTDs

From: Mark Robinson <markr@sites-online.com>
Date: Tue, 10 Nov 1998 08:05:13 -0500
Message-ID: <36483A09.241DD249@sites-online.com>
To: "www-dom@w3.org" <www-dom@w3.org>
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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 22 June 2012 06:13:46 GMT