Adam R. B. Jack wrote:

I'm a PIPE lover the much as the next guy, but simple flat stream pipes are
not what we are building. Our components use complex results. Do we need
contracts for those, or things (like DOM tree/XML structures) that we can
persist/stream/validate. [How does Cocoon address this?]

Cocoon pipelines are not streams of characters but streams of structured events (using the SAX API). So, for example, if you have "<a><b/></a>" to pass along, the events are:


 - startElement(a)
 - startElement(b)
 - endElement(b)
 - endElement(a)

--
Stefano.


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to