ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> perl-xml
perl-xml
Re: Pull-style event interface
by Ken MacLeod other posts by this author
Jan 25 2001 11:09AM messages near this date
view in the new Beta List Site
Re: XML::Parser::PerlSAX -- characters() callback? | RE: Help with XPath errors with ancestor nodes!
Robert Braddock <stormwarden@[...].com>  writes:

>  > PatAct modules[1] implement almost exactly the same technique, but
>  > using push.
>  
>  Hmm, I must be misunderstanding something, as PatAct looks to keep
>  the SAX start/end event handlers disjoint, which is only almost
>  exactly the same in that it is only different in exactly the
>  distinction I'm making.

Ah, my apologies, I meant in the way that "actions" in the
pattern/action lists get evaluated.  Since Action modules are
themselves SAX handlers (push), any actions in the pattern/action list
must rely on push behavior as well.

If an Action module were written to use a pull parser, then actions
would be evaluated in a pull environment.

>  > Paul Prescod also describes a very similar system for
>  > Python[2] where it mixes both pull and push.
>  > [2] <http://www.python.org/pipermail/xml-sig/2000-March/003655.html>
>  
>  What I saw about this sounded interestingly similar to what I'm
>  doing, but that specific page isn't there--is there any other link
>  you have?

Odd that those would get rearchived,

  <http://mail.python.org/pipermail/xml-sig/2000-March/002003.html> 

  -- Ken
_______________________________________________
Perl-XML mailing list
Perl-XML@[...].com
http://listserv.ActiveState.com/mailman/listinfo/perl-xml

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved