[ https://issues.apache.org/jira/browse/COCOON3-8?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Simone Tripodi updated COCOON3-8:
---------------------------------
Attachment: DigesterFinisherWithBetwixtTest.patch
The second attached patch shows how the DigesterFinisher works also with the Betwixt's BeanReader,
being a Digester extension.
Basically contains the same code of the first patch, the test case has changed.
> Add a Digester processor Finisher for the Pipeline
> --------------------------------------------------
>
> Key: COCOON3-8
> URL: https://issues.apache.org/jira/browse/COCOON3-8
> Project: Cocoon 3
> Issue Type: Improvement
> Components: cocoon-optional
> Affects Versions: 3.0.0-alpha-2
> Reporter: Simone Tripodi
> Assignee: Cocoon Developers Team
> Priority: Minor
> Fix For: 3.0.0-alpha-2
>
> Attachments: DigesterFinisher.patch, DigesterFinisherWithBetwixtTest.patch
>
>
> The Pipeline is useful not only to stream XML to an OutputStream, but also to implement
efficient XML processors; an hypothetical scenario can be an XML -> DB pipeline, with intermediary
transformations and validation.
> The Apache community owns an extraordinary XML Processor called Digester - informations
can be found on http://commons.apache.org/digester
> The Digester itself is an org.xml.sax.helpers.DefaultHandler extension, so it can be
easily integrated in the pipeline's flow.
> It have to be a finisher, and not an intermediary component, because the Digester is
focused on XML -> Java Objects, so it doesn't make sense transforming XML to POJOs and
than XML again
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
|