nestable C/C++ XML parser?

Toby Speight Toby.Speight at streapadair.freeserve.co.uk
Tue Dec 7 17:25:35 GMT 1999


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

0> In article <m37liqad77.fsf at 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 at 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 at ic.ac.uk the following message;
unsubscribe xml-dev
To subscribe to the digests, mailto:majordomo at ic.ac.uk the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa at ic.ac.uk)





More information about the Xml-dev mailing list