cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Daniel Fagerstrom" <daniel.fagerst...@swipnet.se>
Subject RE: [SUMMARY] Viva la Multiplexer! (was: [Contribution] Pipe-aware selection)
Date Mon, 08 Apr 2002 21:20:57 GMT
Ivelin Ivanov wrote:
> Without taking any side in this argument, simply because I don't
> have enough
> real world experience with pipe-aware selectors, I would like to share an
> RT.
>
> If xpath selector is chosen to make it in Cocoon,  it can be implemented
> very efficiently.
> Those who have followed the discussion remember Konstantin and I proposing
> an XPath subset which
> can cover majority of the use cases.
I didn't find your mail about the XPath subset in the archive could you
please send a pointer?

> Indeed there is a readily available library of good quality which can be
> utilized.
> It is the Digester tool from Apache Jakarta Commons.
> http://jakarta.apache.org/commons/digester.html
>
> If I am not mistaken, for a sitemap like the following, Digester can be
> initialized with all the selector when tests.
> Then it can cash the sax stream until any of the tests is satisfied, at
> which point, the cached sax stream can be unleashed to the next SAX
> consumer.
I got the impression that Digester parses the sax input and applies rules on
it that typically creates an object hierarchy, but I didn't found any
methods for creating sax output, did you? Or do you suggest an
implementation where the input sax is sent booth to Digester for testing and
to a cache?

/Daniel Fagerstrom



---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org


Mime
View raw message