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)>


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

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

This archive was generated by hypermail 2.3.1 : Tuesday, 20 October 2015 10:46:05 UTC