On Tuesday, June 17, 2003, at 08:07 PM, Pier Fumagalli wrote:
The most peculiar one is that I always _hated_ the fact that Velocity
output
need to be passed through a parser _every_time_ the content is
generated
(Velocity is stream-based, not SAX-based), so what my little template
does
is that it actually parses the original template generating a set of
"SAX
like" events (yeah, elements, CDATA, characters and comments are
parsed and
identified as such) so, once a "template" is parsed, it will be stored
(and
"replayed") as a sequence of SAX events.
I didn't invent anything, I just took the Velocity syntax, and wrote a
parser that follows the Cocoon contracts (SAX) and put them together,
and
added some spice and salt...
Compare and contrast to Jelly? <http://jakarta.apache.org/commons/jelly>
-pete