Lists Home |
Date Index |
- From: "Bill la Forge" <email@example.com>
- To: "james anderson" <James.Anderson@mecomnet.de>, <firstname.lastname@example.org>
- Date: Wed, 27 Jan 1999 12:01:09 -0500
>Why not permit the application to bind an instance to perform the respective
>operations. It's more powerful and no harder to implement or to use?
At one level, that's what we are doing with filters in MDSAX. But it gets awkward
to use at the next level up.
It seems more reasonable to have a parser factory object which can be configured just
the way you want the parser to work. Then you can make as many instances of the
parser as you want/need.
In single-threaded applications, you just need one global parser. Possibly.
But its important in a large XML application to be able to say, hey, get me a parser to
use, at various points in the program without having to worry about setting the
locale and all.
xml-dev: A list for W3C XML Developers. To post, mailto:email@example.com
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/
To (un)subscribe, mailto:firstname.lastname@example.org the following message;
To subscribe to the digests, mailto:email@example.com the following message;
List coordinator, Henry Rzepa (mailto:firstname.lastname@example.org)