Lists Home |
Date Index |
- From: "Bill la Forge" <firstname.lastname@example.org>
- To: "james anderson" <James.Anderson@mecomnet.de>, <email@example.com>
- 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:firstname.lastname@example.org
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/
To (un)subscribe, mailto:email@example.com the following message;
To subscribe to the digests, mailto:firstname.lastname@example.org the following message;
List coordinator, Henry Rzepa (mailto:email@example.com)