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

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   Re: nestable C/C++ XML parser?

[ Lists Home | Date Index | Thread Index ]
  • From: Toby Speight <Toby.Speight@streapadair.freeserve.co.uk>
  • To: "XML developers' list" <xml-dev@ic.ac.uk>
  • Date: 07 Dec 1999 17:25:35 +0000

Lars> Lars Marius Garshol <URL:mailto:larsga@garshol.priv.no>

0> In article <m37liqad77.fsf@ifi.uio.no>, Lars wrote:

Lars> The only application I see for this sort of thing is to be able
Lars> to work around XML syntax rules,

I see a demand for parsing a document with SAX, but using some
start-tags to switch to building DOM (or DOM-like) objects, returning
to stream-oriented processing afterwards.  Perhaps you have a large
"set" or "list", and you know that the members of that collection can
be processed independently - why waste memory on a complete DOM for
that?

Lars> but once you do that your document is no longer an XML document
Lars> and you shouldn't pretend that it is, not even to yourself.

This bit I agree with.

-- 


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