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

Re: Entity Declarations

From: Mike Champion <mcc@arbortext.com>
Date: Thu, 30 Apr 1998 09:19:49 -0400
Message-Id: <98Apr30.091944edt.26885@thicket.arbortext.com>
To: "Jeff" <jmackay@vtopia.com>, <www-dom@w3.org>
At 01:19 AM 4/30/98 -0400, Jeff wrote:
>>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. 

You're right; I've come to realize that I was extrapolating too far from
the DOM draft spec's statement on entity handling in core in my previous
reply.  I'm speaking for myself since it's clear that this is not clearly
laid out in the spec, but from some informal consultations on this I think
it's clear that we need to a) clarify the relationship between DOM and the
XML processor and b)we need to put type information on the
EntityDeclaration object so that the DOM user can tell what it is and where
the declaration was found. 

Thanks for your persistence in setting me straight here!

Mike Champion
Received on Thursday, 30 April 1998 09:21:39 UTC

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