[XML-SIG] SAX parser factories (Was: PyTRaX?)
Martin v. Loewis
martin@loewis.home.cs.tu-berlin.de
Thu, 19 Apr 2001 23:52:04 +0200
> Would there be an idea of precedence, what if two parsers meet all of
> the criteria which one would we pick?
For SAX, I think the registry ought to have an ordered list. For the
parsers known to PyXML, this list should be sorted roughly by expected
resource consumption (both time and space).
One proposal is to return the list of all matching parsers, which
would off-load selection to the application (not that the application
would be in any better position to make a choice - unless it can
off-load the choice to an experienced user).
Regards,
Martin