You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cocoon.apache.org by "Jakob Spörk (JIRA)" <ji...@apache.org> on 2009/01/29 09:19:59 UTC

[jira] Commented: (COCOON3-22) Remove XMLConsumer interface

    [ https://issues.apache.org/jira/browse/COCOON3-22?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12668368#action_12668368 ] 

Jakob Spörk commented on COCOON3-22:
------------------------------------

I'm of the same opinion as Andreas. Only because removing the XConsumer and XProducer interfaces will work for SAX, I wouldn't do that because it would destroy the described similarities between different pipeline APIs.

I also do not see the advantage in removing these interface because this wont affect the performance and when dealing with writing components, the developer will only need transformers (AbstractTransformer), generators (AbstractGenerator) and serializer (AbstractSerializter) and has not to touch any of the interfaces.

I think one page of user manual will provider more clarity to new users than the removal of these interfaces.

> Remove XMLConsumer interface
> ----------------------------
>
>                 Key: COCOON3-22
>                 URL: https://issues.apache.org/jira/browse/COCOON3-22
>             Project: Cocoon 3
>          Issue Type: Improvement
>          Components: cocoon-sax
>    Affects Versions: 3.0.0-alpha-1
>            Reporter: Carsten Ziegeler
>            Assignee: Cocoon Developers Team
>             Fix For: 3.0.0-alpha-2
>
>         Attachments: StAX-classes.png
>
>
> Remove XMLConsumer interface; relying on a content handler which might optionally implement lexical handler is sufficient and simplifies the module

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.