Thanks, Simo!
We should document these dependencies, I think.
The "cocoon side projects" are not always easy to find.

Cheers,
Jos

On Fri, Jan 6, 2012 at 11:05 AM, Simone Tripodi <simonetripodi@apache.org> wrote:
Hi Jos!

Looks like the class
org/apache/cocoon/components/serializers/util/XMLSerializer is
contained in C2 cocoon-serializers-charsets, you have to add the
following dependency in your pom:

<dependency>
 <groupId>org.apache.cocoon</groupId>
 <artifactId>cocoon-serializers-charsets</artifactId>
 <version>1.0.0</version>
</dependency>

I found it in

jar:file:~/.m2/repository/org/apache/cocoon/cocoon-serializers-charsets/1.0.0/cocoon-serializers-charsets-1.0.0.jar!/org/apache/cocoon/components/serializers/util/XMLSerializer.class

HTH, all the best!
-Simo

http://people.apache.org/~simonetripodi/
http://simonetripodi.livejournal.com/
http://twitter.com/simonetripodi
http://www.99soft.org/



On Fri, Jan 6, 2012 at 8:16 AM, Jos Snellings
<jos.snellings@upperware.biz> wrote:
> Dear cocooners,
>
> When trying to load cocoon-optional, spring complains loudly about not being
> able to find class:
>
> org/apache/cocoon/components/
> serializers/util/XMLSerializer
>
> In effect, this class is not within the cocoon distribution.
> To my best knowledge, there is no sub project
> cocoon-components
>
> The problematic declaration is:
> public class EncodingXMLSerializer extends
> org.apache.cocoon.components.serializers.util.XMLSerializer implements
> SAXPipelineComponent, Finisher, SAXConsumer, CachingPipelineComponent {
>
> Can anybody shed some light upon this one?
>
>
> Thank you !
> Jos