Cocoon 2.2 Build Fails (continues to fail)
The issue reported here from September 17th... https://issues.apache.org/jira/browse/COCOON-2302 ...is still a problem for me. After adding the daisycms repo AND moving all the versions up from 1.5-dev to 2.4 I was able to the build a little further. Also mixed in this list is nekodtd which I managed to find by downloading the jar from http://repo1.maven.org/maven2/nekohtml/nekodtd/0.1.11/nekodtd-0.1.11.jar; and installing directly. This still doesn't let me build because tests fail, starting with cocoon-html-sample block. Skipping the tests doesn't provide the cocoon-serializers-impl so I'm guessing html serializer is critically affected. For reference, these are the missing artifacts. 1) daisy:daisy-repository-api:jar:1.5-dev 2) daisy:daisy-repository-xmlschema-bindings:jar:1.5-dev 3) nekodtd:nekodtd:jar:0.1.11 4) daisy:daisy-repository-client-impl:jar:1.5-dev 5) daisy:daisy-repository-common-impl:jar:1.5-dev 6) daisy:daisy-repository-spi:jar:1.5-dev 7) daisy:daisy-jmsclient-api:jar:1.5-dev 8) daisy:daisy-htmlcleaner:jar:1.5-dev 9) daisy:daisy-util:jar:1.5-dev This: http://markmail.org/message/eaapichdrctmv5bx Was posted back in May with a reluctant workaround. I looks like 2.2 hasn't been able to build cleanly for months (and if it is for you, try clearing your local repo first and running).
Set Encoding for XMLSerializer dynamically
Hi,i am using cocoon 2.2 and i want to set the encoding for the xml serializer dynamically depending on the return value of a previous action.for example like this serialize type=xhtml status-code=200 encoding={charsetEncoding}/ ...For the moment i can only set the encoding in the bean definition... Is that possible? Thanks
FOPSerializer user config
Hello, Working with Cocoon 2.1.11 and fop-0.94.jar, I'm trying to use a Truetype font I need for some Unicode characters. I've built the font metric files, and added a line in the main sitemap.xmap, but it's obvious Cocoon doesn't take this line into account. I've tried both of the following syntax: map:serializer logger=sitemap.serializer.fo2pdf mime-type=application/pdf name=fo2pdf src=org.apache.cocoon.serialization.FOPSerializer user-configWEB-INF/lib/fop-fonts/font-config.xml/user-config /map:serializer and: map:serializer logger=sitemap.serializer.fo2pdf mime-type=application/pdf name=fo2pdf src=org.apache.cocoon.serialization.FOPSerializer user-config src=WEB-INF/lib/fop-fonts/font-config.xml/ map:serializer with relative path to the sitemap-xmap file and absolute path (user- config/srv/tomcat6/webapps/cocoon/WEB-INF/lib/fop-fonts/font-config.xml/user- config or user-config src=/srv/tomcat6/webapps/cocoon/WEB-INF/lib/fop- fonts/font-config.xml/), but none of the these solutions work. I just get the same PDF output as if I didn't modify anything. As I have no error and no mention of the FOP process in the log files, I have no idea if the error is the sitemap.xmap, in the font-config.xml or in the metric files. Could someone help me? I didn't find anything I understand enough in the documentation. Philippe Faehndrich - To unsubscribe, e-mail: users-unsubscr...@cocoon.apache.org For additional commands, e-mail: users-h...@cocoon.apache.org