[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Parser compliance
[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! 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
|