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

Re: Parser compliance

  • From: "Steven R. Newcomb" <srn@t...>
  • To: xml-dev@i...
  • Date: Sun, 21 Nov 1999 13:55:04 -0600

steve newcomb search engine
[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.

-Steve

--
Steven R. Newcomb, President, TechnoTeacher, Inc.
srn@t...  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@t...

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@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.