W3C home > Mailing lists > Public > www-dom@w3.org > July to September 1998

Re: Question about Entity and EntityReferance again.

From: Don Park <donpark@quake.net>
Date: Wed, 19 Aug 1998 21:04:11 -0700
Message-ID: <001401bdcbef$98414ac0$2ee044c6@arcot-main>
To: <www-dom@w3.org>
>If any EntityReferences have copy of expanded entity, it is too expensive.
>If the EntityReferences which have same entity name refer only one expanded
>entity, then traversing tree to lower level than EntityReference and
>to upper level than EntityReference will not be compatible.

You are correct in both cases.  The spec talks about child lists of Entity
and EntityReference being same but it does not say what the children's
parents are suppose to be.

>I want to implement Entity and EntityReference as "Entity has expanded
>as its children and EntityReference dosen't have children only have entity
>Is this way illegal?

As far as I know, yes.  Navigation code must check for EntityReference node
type if it is assuming getParentNode to work correctly.

Received on Thursday, 20 August 1998 00:12:59 UTC

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