Questions tagged [apache-cocoon]

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.

Website

http://cocoon.apache.org/

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…
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

Use XSL param value in HTML attribute

I have a form like the following