XPath expressions with a SAX parser
nik at ngo.org.uk
Wed Mar 21 11:52:25 GMT 2007
> Nik Clayton wrote:
>> Thanks for the pointer. It's a bit weird that the preferred approach to
>> halting a parse when all the necessary data has been retrieved is
>> die-wrapped-in-eval, but I can live with that.
> I suppose I could mask this by adding (yet another!) method, like
> stop_parsing or finish_NOW or something, that would do that without the
> calling code needing to know about it. Would that make sense?
I think so. The current implementation exposes something of the
underlying implementation (and its limitations). It'd be nice to have
them covered up.
More information about the london.pm