Multiple(?) / Reuse of Parsers

David Brownell david-b at
Fri May 14 18:52:09 BST 1999

As it says in the SAX spec for the "Parser" interface:

	SAX parsers are reusable but not re-entrant: the
	application may reuse a parser object (possibly
	with a different input source) once the first
	parse has completed successfully, but it may not
	invoke the parse() methods recursively within a parse.

So, reusing the parser must be OK.

Re should you be able to create more than one -- certainly.
Complain to any parser vendor that doesn't let you do that;
there's no reason to prevent that from being done, it's rather
basic functionality.

- Dave

xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev at
Archived as: and on CD-ROM/ISBN 981-02-3594-1
To (un)subscribe, mailto:majordomo at the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo at the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa at

More information about the Xml-dev mailing list