W3C home > Mailing lists > Public > w3c-sgml-wg@w3.org > January 1997

Re: Entity Ignorance

From: Gavin Nicol <gtn@ebt.com>
Date: Wed, 29 Jan 1997 11:58:39 -0500
Message-Id: <199701291658.LAA00653@nathaniel.ebt>
To: tallen@fsc.fujitsu.com
CC: w3c-sgml-wg@www10.w3.org
>And how is this compatible with SGML?  

SGML does not prescribe error recovery mechanisms for references to
undeclared entitie, and one possible recovery strategy is to look for
the entity using the name of entity:

  <?XML VERSION="1.0">
  <FOO>
  &bar;
  </FOO>

would result in a search for an entity named "bar", perhaps by looking
in a catalog, relative to the referring entity, etc.

I think this may end up being *more* robust in some ways, because people
will have to implement a default behaviour for cases where entities 
are not declared, which they otherwise may not have to.

This will also make it easier to parse entities in isolation.
Received on Wednesday, 29 January 1997 12:00:34 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 20:25:07 UTC