Re: [C3] Calling another from REST resource

Andre Juffer <[email protected]>
Newsgroups gmane.text.xml.cocoon.user
Message-ID <[email protected]>
On 08/26/2013 12:05 PM, Javier Puerto wrote:



2013/8/26 Andre Juffer <[email protected]<mailto:[email protected]>>
I am working on using the Java pipe. So far so so good.  I have two issues:

1. I intend to use a TextSerializer in the final step as I need just a single String returned from the other block, but I cannot find the org.apache.cocoon.sax.component.TextSerializer:

http://cocoon.apache.org/3.0/apidocs/org/apache/cocoon/sax/component/TextSerializer.html

It extends org.apache.cocoon.sax.component.XMLSerializer. All other classes are fine (Pipeline, SAXPipelineComponent, etc). Is there an extra dependency required. If so, which one?

TextSerializer class is in "cocoon-sax" project, the spring declaration is available at "cocoon-sitemap" project in file "cocoon-sitemap/src/main/resources/META-INF/cocoon/spring/cocoon-pipeline-component.xml". You only need these two projects as dependencies.

Sorry, but this doesn't seem to be correct. Note that I rely on the 3.0.0-alpha-3 release. Thus, in pom.xml, one would have
    <dependency>
    <groupId>org.apache.cocoon.sax</groupId>
    <artifactId>cocoon-sax</artifactId>
    <version>3.0.0-alpha-3</version>
    </dependency>
    <dependency>
    <groupId>org.apache.cocoon.sitemap</groupId>
    <artifactId>cocoon-sitemap</artifactId>
    <version>3.0.0-alpha-3</version>
    </dependency>

according to

http://mvnrepository.com/artifact/org.apache.cocoon.sax/cocoon-sax/3.0.0-alpha-3
http://mvnrepository.com/artifact/org.apache.cocoon.sitemap/cocoon-sitemap/3.0.0-alpha-3

None of these contain the org.apache.cocoon.sax.component.TextSerializer.



--
Andre H. Juffer              | Phone: +358-294-481161
Biocenter Oulu and           | Fax: +358-8-553-1141
Department of Biochemistry   | Email: [email protected]<mailto:[email protected]>
University of Oulu, Finland  | WWW: www.biochem.oulu.fi/Biocomputing/<http://www.biochem.oulu.fi/Biocomputing/>
StruBioCat                   | WWW: www.strubiocat.oulu.fi<http://www.strubiocat.oulu.fi>
Triacle Biocomputing         | WWW: www.triacle-bc.com<http://www.triacle-bc.com>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.