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


Help: OASIS Mailing Lists Help | MarkMail Help



   Re: Why SAX needs namespace support

[ Lists Home | Date Index | Thread Index ]
  • From: "Bill la Forge" <b.laforge@jxml.com>
  • To: "james anderson" <James.Anderson@mecomnet.de>, <xml-dev@ic.ac.uk>
  • 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:xml-dev@ic.ac.uk
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/
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