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


Help: OASIS Mailing Lists Help | MarkMail Help



   Re: SAX: Next Round

[ Lists Home | Date Index | Thread Index ]
  • From: <david@megginson.com>
  • To: xml-dev@ic.ac.uk
  • Date: Wed, 20 Jan 1999 21:55:14 -0500 (EST)

James Williams - Sun East Coast IR Development writes:

 > How about adding the capabililty to register multiple
 > handlers of a given type with a parser instance?  The parser
 > would send the event to the handlers in the order they were
 > registered.

This is actually easy to handle with a special filter on top of any
SAX implementation (as is namespace processing, for that matter).

 > I think it would aid in the development of modular,
 > re-usable handlers if you could register more than one with
 > a parser.

I disagree with this point -- I think that the filter approach goes
much further towards general-purpose, reusable handlers; that said,
there are other benefits to broadcasting events (such as doing two
completely different things with the same input stream).

All the best,


David Megginson                 david@megginson.com

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)

  • References:
    • Re: SAX: Next Round
      • From: James Williams - Sun East Coast IR Development <James.Williams@East.Sun.COM>


News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS