Apache Cocoon, usually just called Cocoon, is a web application framework built around the concepts of pipeline, separation of concerns and component-based web development.
Questions tagged [apache-cocoon]
85 questions
15
votes
1 answer
Declaring a xsl variable and assigning value to it
I'm working on an application which uses apache cocoon to convert an XML to PDF, and I'm redesigning the XSL that handles the input XML.
Currently in the XSL, we have code like this

Ravi Shenoy
- 467
- 1
- 4
- 14
4
votes
1 answer
Using Saxon9 for XSLT with Apache Cocoon 2.2
I'd like to use Saxon (9HE) for XSLT processing in Apache Cocoon (2.2). I've followed the instructions for using Saxon from http://wiki.apache.org/cocoon/Saxon. These instructions describe the process using an .xconf file, which is no longer the…

Jacob Brown
- 7,221
- 4
- 30
- 50
4
votes
1 answer
ClassLoader issue on WAS 7.0.0.0 - DocumentBuilderFactoryImpl
I am working with a Web application written in cocoon framework (Java) and running on WAS 7.0.0.0.
When running on WAS 6.X.X.X everything works fine.
However, on WAS 7 during runtime I am receiving the following error:
java.lang.ClassCastException…

amitil
- 41
- 2
4
votes
3 answers
Building Cocoon 2.1.0 with JDK 7 fails: compile-build.xml:68
I am using java JDK 7 in my attempt to build cocoon 2.1.10 on Windows 2008 R2 for eventual deployment in Tomcat 7. I have downloaded the cocoon source files, unzipped them, set my JAVA_HOME variable and then tried to run the build.bat file…

user1739069
- 43
- 1
- 3
4
votes
4 answers
Cocoon lite / XML and XSLT publishing framework
What publishing frameworks (publishing only, NOT full-blown CMS) based on XML, XSLT sitemaps and pipelines exist, are stable, active, and simpler / lighter than Cocoon?
I have glanced at:
mod_xslt (http://www.mod-xslt2.com/) which seemed to be…

Bambax
- 2,920
- 6
- 34
- 43
3
votes
2 answers
Tomcat showing this error "This is very likely to create a memory leak". How to resolve this issue?
I have created a web application in Apache Cocoon.This website is running properly but after every 3-4 days, it stops responding. It doesn't run until and unless, we restart the tomcat service. In the catalina.2011-05-09.log file, it shows following…

Shahab Abbasi
- 31
- 1
- 1
- 2
3
votes
1 answer
JSF with Cocoon
We research the possibility to migrate from a classic ASP to Java-based Web Application (namely JavaServer Faces 2.0).The old ASP application make use of XSLT to render basic UI components und we would like to keep using of the most of XSL…

easyrider
- 361
- 2
- 4
- 14
3
votes
2 answers
Get PDF output from XML generated by a PHP file and translated with an XSLT
I've used a couple of days to think of a best practice to generate a PDF, which end users can customize the layout for themselves. The PDF output needs to be saved on the server or sent back to the PHP file so the PHP file can save it, and the PHP…

Josef
- 59
- 1
- 9
2
votes
1 answer
cocoon 2.1.x to 2.2.0 migration guide
Can anyone recommend me a good migration guide?

sumek
- 26,495
- 13
- 56
- 75
2
votes
1 answer
2
votes
1 answer
How to debug xslt code from DSpace Mirage 2 theme in IntelliJ?
I use IntelliJ 2017 and DSpace 6, and I can debug Java code successfully, but I can not debug code from the xslt files of the Mirage 2 theme. How to debug xslt code from DSpace Mirage 2 theme in IntelliJ?

Jack Harper
- 31
- 4
2
votes
2 answers
How to look up date from a URL with parameters?
I am using XSLT to look up data in an external document, which is an XML file from a DSpace URL (link). But I cannot use an URL with parameters in document().
This is my code:
…

Fernando Hattori
- 33
- 4
2
votes
1 answer
Aspect chains in Dspace 1.8.2
Reading the documentation i'm a bit confused as to where exactly are aspect chains.
in the documentation:…

MaatDeamon
- 9,532
- 9
- 60
- 127
2
votes
2 answers
Spring Could not resolve placeholder while loading config file form filesystem
I'm facing an issue with spring placeholder configuration. I've searched the web trying to find a solution but nothing worked for me at all.
We had used to use spring configurer for loading our .properties files and everything worked fine since the…

Michal Ličko
- 69
- 1
- 8
2
votes
1 answer
Choose a specific java version for neo4j or cocoon
I'm currently running cocoon on my FreeBSD server (9.2) I'm using this version of java :
java -version
openjdk version "1.6.0_32"
OpenJDK Runtime Environment (build 1.6.0_32-b28)
OpenJDK 64-Bit Server VM (build 23.25-b01, mixed mode)
But I would…

user3141597
- 39
- 4