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


Help: OASIS Mailing Lists Help | MarkMail Help



   Re: Parser compliance

[ Lists Home | Date Index | Thread Index ]
  • From: "Steven R. Newcomb" <srn@techno.com>
  • To: xml-dev@ic.ac.uk
  • Date: Sun, 21 Nov 1999 13:55:04 -0600

[Steve Newcomb:]
> >In my own mind, the purpose of XML, as a tool, is to get information (not
> >just data) from A to B.  I think of information as having two forms:
> >
> >(1) ready-to-run objects in memory, e.g. ready-to-roll DOM
> >
> >(2) interchangeable (but otherwise useless) serialized-into-characters
> >    XML

[Walter Underwood:]
> This doesn't begin to cover a lot of what XML is used for. It does
> cover document-like uses, but not the data-serialization uses.
> In the latter, folks want their application objects, not objects
> that accurately reflect the source document. They need something
> more like marshalling/unmarshalling code, going straight to the
> app-meaningful objects.

> Even for some documentation-like uses, a DOM is the wrong answer.
> Our search engine needs to extract text and store it in the indexes.
> Analyzing the documents in a stream (SAX) means handling bigger
> documents, using less memory, et cetera.

My main point is, I think, also yours: it causes unnecessary grief to
assume that the interchange structure of an XML resource needs to be
the same as, or even correspond to, the API to the information that
the XML resource carries.

I mentioned the DOM only as an *example* of ready-to-run objects; I
did not intend to say that the DOM is useful for every purpose.
Ready-to-run objects (including your indexes) are ready-to-run
objects, regardless of the process by which they were created.
Ready-to-run objects (whatever one may call them, and regardless of
how they are implemented) are manufactured by all applications of XML,
not just by some of them.


Steven R. Newcomb, President, TechnoTeacher, Inc.
srn@techno.com  http://www.techno.com  ftp.techno.com

voice: +1 972 517 7954  <<-- new phone number
fax    +1 972 517 4571  <<-- new fax number
pager (150 characters max): srn-page@techno.com

Suite 211               <<-- new address
7101 Chase Oaks Boulevard 
Plano, Texas 75025 USA

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


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

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