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


Help: OASIS Mailing Lists Help | MarkMail Help



   Re: Multiple(?) / Reuse of Parsers

[ Lists Home | Date Index | Thread Index ]
  • From: David Brownell <david-b@pacbell.net>
  • To: Leigh Dodds <ldodds@ingenta.com>
  • Date: Fri, 14 May 1999 09:50:51 -0700

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@ic.ac.uk
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/ and on CD-ROM/ISBN 981-02-3594-1
To (un)subscribe, mailto:majordomo@ic.ac.uk the following message;
(un)subscribe 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