W3C home > Mailing lists > Public > www-dom@w3.org > April to June 1998

Re: Entity Declarations

From: Jeff <jmackay@enteract.com>
Date: Thu, 30 Apr 1998 00:19:34 -0500
Message-ID: <006b01bd73f7$927501e0$dc8ae5cf@jmackay-4.soho.enteract.com>
To: <www-dom@w3.org>
>It may also make sense to include an enum that
>>provides information about the type of entity: INTERNAL, EXTERNAL, PARSED,
>>UNPARSED, etc.
>
>As I understand it, internal entities are expanded by an XML processor, so
>the DOM never sees them. You're right about needing a Parsed/Unparsed
>attribute; this was apparently discussed at last week's WG meeting.


Understandable. But what if the DOM forms the core of the XML processor
implementation? It should be possible to reproduce an ENTIRE document,
not just an intermediate representation of a document.  Consider the
following:

    documentA -> processor -> DOM -> generator -> documentB

Assuming no limitations on the part of the processor or generator, documentA
and documentB, the DOM should not prevent documentA and documentB from being
identical.

Also, it might make sense to differentiate between general entities and
parameter
entities since there are significant differences in their behavior.  I'm
talking about separate
interfaces, not just a "type" identifier.


Jeff Mackay
Vtopia, Inc.
url: http://www.vtopia.com/
e-mail: jmackay@vtopia.com
Received on Thursday, 30 April 1998 01:19:42 GMT

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