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

Re: EntityReference

From: Paul Prescod <papresco@calum.csclub.uwaterloo.ca>
Date: Tue, 28 Jul 1998 12:55:17 -0400 (EDT)
To: www-dom@w3.org
Message-ID: <Pine.GSO.3.96.980728125306.7529B-100000@calum>
On 28 Jul 1998, Stephen R. Savitzky wrote:
> 
> This brings up a weak point in both the XML and the DOM specs -- no
> consideration at all is given to the possibility that one might want to
> _output_ a document, in which case replacing each EntityReference with its
> corresponding Entity is WRONG.  The whole assumption is that the parser is a
> front-end for an application that doesn't want to know about the _real_
> structure of the document.

XML provides a mechanism for text componentization that is explicitly
designed to be invisible to the application. XLink provides a mechanism
that the application can "see" and manipulate and choose to use or not
use. If you want these "first class transclusions" then you should use
XLink and not text entities.

 Paul Prescod
Received on Tuesday, 28 July 1998 12:55:18 GMT

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