[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: external parsed entites (was: A unique ID question ?)

  • From: David Brownell <david-b@p...>
  • To: xml-dev@i...
  • Date: Wed, 10 Nov 1999 14:48:47 -0800

Re: external parsed entites (was: A unique ID question ?)
Having just been suffering through a DOM implementation
that actually exposes EntityReference nodes, with no way
to turn them off and no utilities to get rid of them,
I'd quite gladly abolish them from DOM ... ;-)

All they seem to be good for in DOM is to trip over, since
any algorithm working on the essential data model for XML
(elements, attributes, text, PIs) needs special casing to
deal with EntityReference nodes (in content or attributes).

Algorithms which are easily expressed in terms of a few
fingers' worth of simple types get very complex when they
need to be updated to address EntityReferences ... and
my own usage happens never to care about such physical
structures.  I just need to see the a logical structure;
details like where data came from at some earlier stage
of processing are a distraction, and a waste of time.

In particular, the notion of readonly children seems to
exist only to prevent applications from manipulating data.
Look but don't touch -- no good when touching is what you
need to do.

That's not specific to _external entities_ ... the problem
exists for all component boundaries that aren't relevant to
the application being developed.  Internal entities have
the problem, as would other kinds of boundaries (using XLink,
SUBDOC, or whatever).

Clearly I'm about to write some code to remove all such
noise from any DOM that tries to inflict it on me!!

- Dave

xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev@i...
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/ and on CD-ROM/ISBN 981-02-3594-1
To unsubscribe, mailto:majordomo@i... the following message;
unsubscribe xml-dev
To subscribe to the digests, mailto:majordomo@i... the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa@i...)



PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.