|
[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 ?)
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! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|
|||||||||

Cart








