Carsten Ziegeler | 2 Jan 10:28
Picon
Favicon

Re: Really small bugs

Christofer.Dutz <at> c-ware.de wrote:
> 
> -          There seems to be a new block in the „subprojects“ directory
> called „cocoon-xml“ I had to comment out this in the subprojects pom.xml
> in order to be able to build cocoon.
> 
Ups, sorry for that - this was actually a typo in the module pom in the
subprojects directory. This is fixed now and you should be able to build
again.

Carsten
--

-- 
Carsten Ziegeler
cziegeler <at> apache.org

Steven Dolg | 2 Jan 13:30

[C3] Extract SAX from the Pipeline module

Hello,

as indicated some time ago, I would like to remove all the SAX related 
pipeline components from the Pipeline module and put them into their own 
module.

Now I have done this locally just to see how easy or difficult this 
would be.
I found that some modules (e.g. cocoon-servlet) actually rely on those 
SAX components.
This means the dependencies amongst the modules will change a little bit 
and the SAX module will actually be a dependency for some other 
higher-level modules. (But I find nothing wrong with that).
But this also means the patch will be rather huge and affect a lot of 
the existing modules.

I intend to finish this and provide a patch in the next 1-2 weeks.
If someone is currently working on some components or modules this might 
lead to a merge-mess.
So let me know if this might be a problem for you.

As second step I'd like to rename some of those components to clearly 
indicate that they're handling XML using SAX - as opposed to our new 
components using StAX.
But I guess that can (and should) wait until the new module is there.

Any opinions or objections on that?
Steven

(Continue reading)

Carsten Ziegeler | 2 Jan 14:01
Picon
Favicon

Re: [C3] Extract SAX from the Pipeline module

Steven Dolg wrote:
> Hello,
> 
> as indicated some time ago, I would like to remove all the SAX related
> pipeline components from the Pipeline module and put them into their own
> module.
> 
> Now I have done this locally just to see how easy or difficult this
> would be.
> I found that some modules (e.g. cocoon-servlet) actually rely on those
> SAX components.
> This means the dependencies amongst the modules will change a little bit
> and the SAX module will actually be a dependency for some other
> higher-level modules. (But I find nothing wrong with that).
> But this also means the patch will be rather huge and affect a lot of
> the existing modules.
> 
> I intend to finish this and provide a patch in the next 1-2 weeks.
> If someone is currently working on some components or modules this might
> lead to a merge-mess.
> So let me know if this might be a problem for you.
> 
> 
> As second step I'd like to rename some of those components to clearly
> indicate that they're handling XML using SAX - as opposed to our new
> components using StAX.
> But I guess that can (and should) wait until the new module is there.
> 
> 
> Any opinions or objections on that?
(Continue reading)

Reinhard Pötz | 2 Jan 16:45
Picon
Favicon

Re: [C3] Extract SAX from the Pipeline module

Steven Dolg wrote:
> Hello,
> 
> as indicated some time ago, I would like to remove all the SAX related
> pipeline components from the Pipeline module and put them into their own
> module.
> 
> Now I have done this locally just to see how easy or difficult this
> would be.
> I found that some modules (e.g. cocoon-servlet) actually rely on those
> SAX components.
> This means the dependencies amongst the modules will change a little bit
> and the SAX module will actually be a dependency for some other
> higher-level modules. (But I find nothing wrong with that).
> But this also means the patch will be rather huge and affect a lot of
> the existing modules.
> 
> I intend to finish this and provide a patch in the next 1-2 weeks.
> If someone is currently working on some components or modules this might
> lead to a merge-mess.
> So let me know if this might be a problem for you.
> 
> 
> As second step I'd like to rename some of those components to clearly
> indicate that they're handling XML using SAX - as opposed to our new
> components using StAX.
> But I guess that can (and should) wait until the new module is there.
> 
> 
> Any opinions or objections on that?
(Continue reading)

Picon
Favicon

[jira] Created: (COCOON3-12) StAX research

StAX research
-------------

                 Key: COCOON3-12
                 URL: https://issues.apache.org/jira/browse/COCOON3-12
             Project: Cocoon 3
          Issue Type: Improvement
          Components: cocoon-pipeline
            Reporter: Thorsten Scherler
            Assignee: Cocoon Developers Team
            Priority: Trivial

http://marc.info/?t=123011253400002&r=1&w=2

An evaluation of the latest XML processing technologies regarding their 
usability in Cocoon3 (especially if there are suited to be used in a 
streaming pipeline).

As it's commonly know we decided to use StAX as our weapon of choice to 
do the XML, but this paper should explain the whys and hows and 
especially the way we took to come to our decision, which resulted in 
using the very same API.

Eleven pages should be a to big read and it contains all necessary links 
to all the APIs we evaluated and also line wise our two cents about the 
API we observed. Concludingly we also tried to show the difference 
between the currently used SAX and the of us proposed StAX API.

I hope this work sheds some light on our decision making and taking and 
that someone dares to read it.
(Continue reading)

Picon
Favicon

[jira] Updated: (COCOON3-12) StAX research


     [
https://issues.apache.org/jira/browse/COCOON3-12?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Thorsten Scherler updated COCOON3-12:
-------------------------------------

    Attachment: Stax_Analysis.pdf

The file the original mail had attached

> StAX research
> -------------
>
>                 Key: COCOON3-12
>                 URL: https://issues.apache.org/jira/browse/COCOON3-12
>             Project: Cocoon 3
>          Issue Type: Improvement
>          Components: cocoon-pipeline
>            Reporter: Thorsten Scherler
>            Assignee: Cocoon Developers Team
>            Priority: Trivial
>         Attachments: Stax_Analysis.pdf
>
>
> http://marc.info/?t=123011253400002&r=1&w=2
> An evaluation of the latest XML processing technologies regarding their 
> usability in Cocoon3 (especially if there are suited to be used in a 
> streaming pipeline).
> As it's commonly know we decided to use StAX as our weapon of choice to 
(Continue reading)

Favicon
Gravatar

Re: [C3] Extract SAX from the Pipeline module

Reinhard Pötz pisze:
> Steven Dolg wrote:
>> Hello,
>>
>> as indicated some time ago, I would like to remove all the SAX related
>> pipeline components from the Pipeline module and put them into their own
>> module.
>>
>> Now I have done this locally just to see how easy or difficult this
>> would be.
>> I found that some modules (e.g. cocoon-servlet) actually rely on those
>> SAX components.
>> This means the dependencies amongst the modules will change a little bit
>> and the SAX module will actually be a dependency for some other
>> higher-level modules. (But I find nothing wrong with that).
>> But this also means the patch will be rather huge and affect a lot of
>> the existing modules.
>>
>> I intend to finish this and provide a patch in the next 1-2 weeks.
>> If someone is currently working on some components or modules this might
>> lead to a merge-mess.
>> So let me know if this might be a problem for you.

I have some work related to both sitemap and pipeline modules but I hope my tools (Git) will help me
with merging fun.

Could you possibly split your work into a few smaller patches focused on one simple step of
refactoring? That would make my job easier I guess.

Thanks for your work.
(Continue reading)

Reinhard Pötz | 3 Jan 14:36
Picon
Favicon

Re: [C3] Extract SAX from the Pipeline module

Grzegorz Kossakowski wrote:
> Reinhard Pötz pisze:
>> Steven Dolg wrote:

<snip/>

>>> I intend to finish this and provide a patch in the next 1-2 weeks.
>>> If someone is currently working on some components or modules this might
>>> lead to a merge-mess.
>>> So let me know if this might be a problem for you.
> 
> I have some work related to both sitemap and pipeline modules but I hope my tools (Git) will help me
> with merging fun.
> 
> Could you possibly split your work into a few smaller patches focused on one simple step of
> refactoring? That would make my job easier I guess.
> 
> Thanks for your work.

I guess that the only possible split is doing the renaming of classes in
one step and the creation of the SAX module in another. Apart from this
I don't think it makes much sense to create smaller patches.

</snip>

--

-- 
Reinhard Pötz                           Managing Director, {Indoqa} GmbH
                         http://www.indoqa.com/en/people/reinhard.poetz/

Member of the Apache Software Foundation
(Continue reading)

Favicon
Gravatar

Re: [C3] Extract SAX from the Pipeline module

Reinhard Pötz pisze:
> Grzegorz Kossakowski wrote:
>> Reinhard Pötz pisze:
>>> Steven Dolg wrote:
> 
> <snip/>
> 
>>>> I intend to finish this and provide a patch in the next 1-2 weeks.
>>>> If someone is currently working on some components or modules this might
>>>> lead to a merge-mess.
>>>> So let me know if this might be a problem for you.
>> I have some work related to both sitemap and pipeline modules but I hope my tools (Git) will help me
>> with merging fun.
>>
>> Could you possibly split your work into a few smaller patches focused on one simple step of
>> refactoring? That would make my job easier I guess.
>>
>> Thanks for your work.
> 
> I guess that the only possible split is doing the renaming of classes in
> one step and the creation of the SAX module in another. Apart from this
> I don't think it makes much sense to create smaller patches.

Yep, that's fine with me.

Actually, I only care that one patch contains changes related to one isolated action (of course it's
hard to define "isolated action" but I guess you can get my point). I don't care if patch is big or
small because I deal with patch sets and not with change sets, usually.

--

-- 
(Continue reading)

Reinhard Pötz | 4 Jan 14:12
Picon
Favicon

Re: [c3] Pipeline results

Carsten Ziegeler wrote:
> Reinhard Pötz wrote:
>> Reinhard Pötz wrote:
>>> Carsten Ziegeler wrote:
>>>
>>>> There is a slight overlap between the serializer and the result - for
>>>> example if you want to get java objects out of the pipeline, you might
>>>> want to use a special serializer. So maybe we can merge the two?
>>> I was thinking about this too but I preferred the symmetry of defining
>>> the input and output objects at pipeline level and not at component
>>> level. OTOH it's only the serializer which needs access to the output
>>> object, hmmm ...
>>>
>> The more I think about it the less I like the idea of merging the result
>> and the finisher (serializer) interfaces. The reason is that you would
>> have to pass the result object to the finisher which means that you have
>> to do this when you create the finisher instead of doing it when you
>> setup the pipeline.
> Hmm, if you merge result and finisher, you don't have to pass the result
> object to the finisher - it is the finisher :) But I guess you mean
> something like the output stream, right? (which is currently passed to
> the finisher by the pipeline object).

yes, I meant it that way.

> But I see your point - however I fear this flexibility - I guess it is
> unlikely that each finisher will cope with each possible result - text
> based finisher (like html or xml serializers) will be able to write to a
> stream or writer, finishers creating binary content (like the pdf
> serializer) will be able to write to a stream but not to a writer. Atm,
(Continue reading)


Gmane