OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help



   Re: [xml-dev] XML Parsing using DOM parser

[ Lists Home | Date Index | Thread Index ]

Dare Obasanjo wrote:
> > The original question mentioned multiple catalog items in the same XML
> > document and the wish to update each of these items. Both XML and the
> > DOM are agnostic on whether this is a good, bad, or indifferent
> > practice.
> Theoretically there is no reason for this to be a bad practice in the DOM,
> especially if it's a DOM implementation that supports XPath (which in fact
> then makes it a best practice) . However, we live in a world full of
> limitationa and memory issues put an upper bound on the size of documents one
> can manipulate in this manner and how quickly such manipulation can be done.

Another practical limitation is multi-user access. While some DOM
implementations (especially PDOMs) might allow this, my guess is that
most don't. If you are using an XML document as a database and your DOM
implementation only allows one user into the file at a time, you are
going to have real problems in a lot of real-world applications.

-- Ron


News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS