[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: events vs callbacks (was Re: SAX2 (was Re: DOM vs. SAX??? Nah. ))

  • From: Ron Daniel <RDaniel@D...>
  • To: "'David Megginson'" <david@m...>, XML List <xml-dev@i...>
  • Date: Fri, 26 Feb 1999 09:38:53 -0800

RE: events vs callbacks (was Re: SAX2 (was Re: DOM vs. SAX??? Nah. ))
Dave Megginson said:

[Several good things, ending with ...]

> as long 
> as we're smart enough not to kill off SAX's original advantages in
> round two.
> 
[Ron Daniel]  So now for a couple of comments from
the peanut gallery. The first is the standard warning
about second system syndrome. Its a syndrome because its
a mistake that keeps getting made.

So, while I was starting to get pretty interested in
the discussion around what seem to be fairly large
changes to SAX for version 2, Dave's sentence caused
me to stop and ask myself what gripes I have with SAX
now.

I've only used SAX for four parsers, so I can't claim extensive
experience. But from the experience I do have, I'm actually
pretty happy with the overall structure. I particularly like
the way I can use several document handlers to modularize the
parsing of documents with complex DTDs. But what I find myself
really wishing SAX had is a DTDHandler with methods like
startElementDeclaration(), startAttlistDeclaration(), ... 
It should also have methods that pull apart the content model
for me.

Other features like control of parsing options (validating or
not, control over namespace expansion, ...) will also be needed.
But I don't currently feel a need to change the basics of the
DocumentHandler interface.

Later,

Ron Daniel Jr.
DATAFUSION, Inc.
139 Townsend Street, Suite 100
San Francisco, CA  94107
415.222.0100 fax 415.222.0150 
rdaniel@d...



xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev@i...
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/ and on CD-ROM/ISBN 981-02-3594-1
To (un)subscribe, mailto:majordomo@i... the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo@i... the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa@i...)


PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.