Cocoon HOSTING - www.planetsalvage.com
Hello cocoon-users, New cocoon-hosting site (since Jan 2002) www.planetsalvage.com - Cocoon 1.8.2 -- Best regards, Alex mailto:[EMAIL PROTECTED] - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faqs.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Logger not defined
on 23-03-2 03.57, Vadim Gritsenko at [EMAIL PROTECTED] wrote: Reduce log level from DEBUG to INFO. See logkit.xconf and web.xml Yes - that would be one way ;-) I am interested in why my setup do not define the logger ? SocketListener-0/LogKitLogger: Logger for category core.xslt-processor not defined in configuration. New Logger created and returned seems like either it is a log message saying I am about to log now and the message is semantically wrong or something is wrong with my setup and I would like to fix it. I have not waded the code - or tried run under Catalina yet. Do Catalina behave the same ? ... Thanks /peter_f - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faqs.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Oddity with XSP and Namespaces
Thanks Vadim, Hi, can anyone explain the following, or identify that this is a fixed bug? Ok, I can now identify that this is a *fixed* bug. Thanks for finding. Am I right in thinking that this will end up in Cocoon 2.0.2? Thanks, L. - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faqs.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Problems with Java1.4 and svg2png
Hi , I tryed that, but it doesn't solve my problem. If you look to the first line of the attached picture (sample SVG from coocon), you will see that I seem to be a problem with Anti-Aliasing. The first letter O appers a second time 20 pixels to the right, a little bit softer (see the zoomed file). I am totaly confused about this effect. I hadn't that proble with JDK 1.3.0_03. Does anybody know how to solve it or how can I disable anti-aliasing, that would be a good workaround. Thanks in advance and sorry for posting attachements Christoph Gaffga [EMAIL PROTECTED] From: Robert J. Lebowitz [EMAIL PROTECTED] When I experimented with jdk 1.4, I would up grabbing the latest 1.5 batik beta distribution and compiling batik-all and substituting that for the batik.jar file that came with cocoon 2.0. It cleared up a lot of errors I was getting earlier. Maybe this one will clear up too. Rob From: C. Gaffga [EMAIL PROTECTED] Hi, Since i upgraded my System I have Problems with the svg2png serializer in cocoon. I'm using Redhat 7.2, Java1.4, Tomcat 4.0.1, Cocoon 2.0.1 When I serialize a SVG-file to PNG using the Batik libraries there are some problems with rendering text. When I output a Text, saying Test, and another text, say Test2, it write Test correct, but it writes Test under the output of Test2. It's a little bit difficult to explain, so I attached the Image. I tryed with a rebuild version of Batik agains JDK1.4, but it's still the same effect. Does anybody know, why this happens or if there are same problems whith JDK1.4?? How can I solve this?? Thanks in advance Christoph Gaffga [EMAIL PROTECTED] P.S.: Im using no XServer, only Xvfb or java with -Djava.awt.headless=true, both has the same effect. P.P.S.: The SVG-File, I used for the attached Picture: svg width=300 height=390 text x=50 y=100 font-size=16 fill=black text-rendering=optimizeLegibilityTest2/text !-- Legende -- rect x=3 y=379 width=8 height=8 fill=chartreuse stroke=black stroke-width=0.1 shape-rendering=geometricPrecision/ text x=13 y=387 font-size=9 fill=black text-rendering=optimizeLegibilityfrei/text rect x=37 y=379 width=8 height=8 fill=tomato stroke=black stroke-width=0.1 shape-rendering=geometricPrecision/ rect x=85 y=379 width=8 height=8 fill=silver stroke=black stroke-width=0.1 shape-rendering=geometricPrecision/ !-- Copyright -- text x=196 y=387 font-size=9 fill=blue text-rendering=optimizeLegibility#169; 2001 triplemind.com/text /svg henryV-zoomed.png Description: PNG image - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faqs.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Cocoon and XIndice versions
Alex McLintock wrote: Hi folks, I'm trying to find satisfactory versions of Cocoon and XIndice which work together. [cut] my little how-to 1- copy batik-libs,xerces,xalan,xml-apis from $CATALINA_HOME/webapps/cocoon/WEB-INF/libs to $CATALINA_HOME/lib 2- add export CATALINA_OPTS='-Djava.awt.headless=true -Duser.language=en' at the beginning of $CATALINA_HOME/bin/catalina.sh 3- add -Djava.endorsed.dirs=$XINDICE_HOME/java/lib to $XINDICE_HOME/config/vm.cfg 4- patch org.apache.cocoon.transformation.XMLDBTransformerXMLDBTransformer.java with http://www.mail-archive.com/cocoon-dev@xml.apache.org/msg12028.html Christian - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faqs.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Cocoon and XIndice versions - FIXED
Alex McLintock wrote: Hi folks, I'm trying to find satisfactory versions of Cocoon and XIndice which work together. [cut] my little how-to 1- copy batik-libs,xerces,xalan,xml-apis from $CATALINA_HOME/webapps/cocoon/WEB-INF/libs to $CATALINA_HOME/lib 2- add export CATALINA_OPTS='-Djava.awt.headless=true -Duser.language=en' at the beginning of $CATALINA_HOME/bin/catalina.sh 3- add -Djava.endorsed.dirs=$XINDICE_HOME/java/lib to $XINDICE_HOME/config/vm.cfg (note: expand $XINDICE_HOME with the real path!) 4- patch org.apache.cocoon.transformation.XMLDBTransformerXMLDBTransformer.java with http://www.mail-archive.com/cocoon-dev@xml.apache.org/msg12028.html Christian - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faqs.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
AW: Cocoon and XIndice versions
Hello! First, I think that jdk1.4 may cause some problems, but read in the archives for more on that. You don't need a new cvs-snapshot, just use cocoon2 normal release and define the xmldb pseudo protocol in cocoon.xconf: !-- xmldb pseudo protocol with xindice -- source-handler logger=core.xindice-sh protocol name=xmldb class=org.apache.cocoon.components.source.XMLDBSourceFactory driver type=xindice class=org.apache.xindice.client.xmldb.DatabaseImpl/ /protocol /source-handler !-- end of xmldb pseudo protocol with xindice -- because the generator will be deprecated and is not so efficent. Then remove the xmldb-samples in the sitemap and copy the xindice.jar (different package names than dbxml) into cocoon. Then you can generate SAX events by using map:generate src=xmldb:xindice://localhost:4080/db/your-collection/#/user[username='{sit emap-param}'][password='{sitemap-param}']/ in the sitemap (this sample uses an xpath query - if you don't want to query use the xml-object-id instead of everything beginning with '#'). If you want to include some database-xml in an xsp-file use: xi:include href=xmldb:xindice://localhost:4080/db/your-collection/xml-object-id parse=text/ If you want to update the database use the xmldb-transformer from the scratchpad, but for the update execution you have to add a patch or workaround because xalan removes the xupdate-namespace, you can also find this in the archives. At least this worked with me, I hope you can make it run Axel -Ursprungliche Nachricht- Von: Alex McLintock [mailto:[EMAIL PROTECTED]] Gesendet: Freitag, 22. Marz 2002 18:04 An: [EMAIL PROTECTED] Betreff: Cocoon and XIndice versions Hi folks, I'm trying to find satisfactory versions of Cocoon and XIndice which work together. I am told that I need a CVS version of cocoon rather than the latest release - but the CVS snapshots don't currently work. (I am using Xinidice 1.0 and Tomcat 4.0something on RedHat Linux 7.2, and Sun's JDK 1.4) Any ideas? Is it ok discussing cvs snapshots on the users list? Older versions of Cocoon use a deprecated generator system for talking to Xindice rather than the now standard source. Alex Cocoon 2 - Internal server error type fatal message Error compiling sitemap description org.apache.cocoon.ProcessingException: Error compiling sitemap: java.lang.NoClassDefFoundError sender org.apache.cocoon.servlet.CocoonServlet source Cocoon servlet request-uri /cocoon/ path-info stack-trace org.apache.cocoon.ProcessingException: Error compiling sitemap: java.lang.NoClassDefFoundError at org.apache.cocoon.sitemap.Handler.run(Handler.java:295) at java.lang.Thread.run(Thread.java:536) Caused by: java.lang.NoClassDefFoundError at org.apache.batik.dom.svg.SAXSVGDocumentFactory.(Unknown Source) at org.apache.cocoon.xml.dom.SVGBuilder.(SVGBuilder.java:86) at org.apache.cocoon.serialization.SVGSerializer.(SVGSerializer.java:95) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) Openweb Analysts Ltd, London Software For Complex Websites http://www.OWAL.co.uk/ - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faqs.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faqs.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Logger not defined
From: Peter Fagerlund [mailto:[EMAIL PROTECTED]] on 23-03-2 03.57, Vadim Gritsenko at [EMAIL PROTECTED] wrote: Reduce log level from DEBUG to INFO. See logkit.xconf and web.xml Yes - that would be one way ;-) I am interested in why my setup do not define the logger ? Because logkit.xconf defines just several loggers, while cocoon.xconf and sitemap.xmap files use dozens. Difference is created on the fly. Every logger creation is logged by the LogKitLogger. See avalon-logkit project for more info. SocketListener-0/LogKitLogger: Logger for category core.xslt-processor not defined in configuration. New Logger created and returned seems like either it is a log message saying I am about to log now and the message is semantically wrong or something is wrong with my setup and I would like to fix it. I have not waded the code - or tried run under Catalina yet. Do Catalina behave the same ? ... Of course. Vadim Thanks /peter_f - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faqs.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Oddity with XSP and Namespaces
From: Leigh Dodds [mailto:[EMAIL PROTECTED]] Thanks Vadim, Hi, can anyone explain the following, or identify that this is a fixed bug? Ok, I can now identify that this is a *fixed* bug. Thanks for finding. Am I right in thinking that this will end up in Cocoon 2.0.2? Yup. Couple of days left. Time to start counting hours ;) Vadim Thanks, L. - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faqs.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Cocoon and XIndice versions - FIXED
From: root [mailto:root] On Behalf Of Christian Zoffoli Alex McLintock wrote: Hi folks, I'm trying to find satisfactory versions of Cocoon and XIndice which work together. [cut] my little how-to 1- copy batik-libs,xerces,xalan,xml-apis from $CATALINA_HOME/webapps/cocoon/WEB-INF/libs to $CATALINA_HOME/lib ??? Christian: Please, explicitly specify which tomcat version you use. Otherwise, you are going to screw lots of innocent newbies. Newbies: Read newest install instruction from the Cocoon 2.0.2 (due in several days; instructions now available at http://cvs.apache.org/viewcvs.cgi/xml-cocoon2/src/documentation/xdocs/in stalling/index.xml?rev=1.16content-type=text/vnd.viewcvs-markup) before trying to follow any of the instructions on this list. 2- add export CATALINA_OPTS='-Djava.awt.headless=true This is for JDK1.4 *only* -Duser.language=en' at the beginning of $CATALINA_HOME/bin/catalina.sh If I'm not mistaken, this applies to the Xalan 2.3.1 only. 3- add -Djava.endorsed.dirs=$XINDICE_HOME/java/lib to $XINDICE_HOME/config/vm.cfg (note: expand $XINDICE_HOME with the real path!) This is also for JDK1.4 *only*. Regards, Vadim 4- patch org.apache.cocoon.transformation.XMLDBTransformerXMLDBTransformer.java with http://www.mail-archive.com/cocoon-dev@xml.apache.org/msg12028.html - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faqs.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Cocoon2 emulation of Cocoon1: How?
Cocoon User Group: Does anyone have an example of a map:match pattern="" structure that can emulate the old standard Cocoon 1 XML - XSP - XSL - HTML pattern? Looking for confortable starting place. steve Do You Yahoo!? Yahoo! Movies - coverage of the 74th Academy Awards®
DO NOT REPLY [PATCH QUEUE] Summary March 24 2002
--- This mail is generated automatically using Jakarta Ant. Contents are automatically downloaded from Apache's Bugzilla. --- Please do not reply to this mail. --- *** COCOON PATCH QUEUE UPDATE patches in queue: 10 *** --- 6740:[PATCH] Problem with SOAP Logicsheet in accessing .Net Web S --- http://nagoya.apache.org/bugzilla/show_bug.cgi?id=6740 REVIEWER:[EMAIL PROTECTED] RESOLUTION: STATUS: NEW --- 6879:[PATCH] Cache improvement using ESI invalidation protocol --- http://nagoya.apache.org/bugzilla/show_bug.cgi?id=6879 REVIEWER:[EMAIL PROTECTED] RESOLUTION: STATUS: NEW --- 7184:[PATCH] no sample for esql:group in esql.xsp --- http://nagoya.apache.org/bugzilla/show_bug.cgi?id=7184 REVIEWER:[EMAIL PROTECTED] RESOLUTION: STATUS: NEW --- 7187:[PATCH] esql:group, footer fix --- http://nagoya.apache.org/bugzilla/show_bug.cgi?id=7187 REVIEWER:[EMAIL PROTECTED] RESOLUTION: STATUS: NEW --- 7251:[PATCH] XConfTool root node check --- http://nagoya.apache.org/bugzilla/show_bug.cgi?id=7251 REVIEWER:[EMAIL PROTECTED] RESOLUTION: STATUS: NEW --- 7253:[PATCH] I18nTransformer, adds support for setting translatio --- http://nagoya.apache.org/bugzilla/show_bug.cgi?id=7253 REVIEWER:[EMAIL PROTECTED] RESOLUTION: STATUS: NEW --- 7328:[PATCH] Minor changes to User docs menu --- http://nagoya.apache.org/bugzilla/show_bug.cgi?id=7328 REVIEWER:[EMAIL PROTECTED] RESOLUTION: STATUS: NEW --- 6661:[PATCH]LinkStatusGenerator contribution --- http://nagoya.apache.org/bugzilla/show_bug.cgi?id=6661 REVIEWER:[EMAIL PROTECTED] RESOLUTION: STATUS: NEW --- 7009:[PATCH] symmetry in HTML Forms :HTML Forms - XML/XPath - --- http://nagoya.apache.org/bugzilla/show_bug.cgi?id=7009 REVIEWER:[EMAIL PROTECTED] RESOLUTION: STATUS: NEW --- 6654:[PATCH] Getting Cocoon-2.0.1 working on BES 5 --- http://nagoya.apache.org/bugzilla/show_bug.cgi?id=6654 REVIEWER:[EMAIL PROTECTED] RESOLUTION: STATUS: ASSI *that's it! patch HOWTO Send patches to http://nagoya.apache.org/bugzilla/ specifying [PATCH] in the summary. Bugzilla sends a mail automatically to this list. Reviewers will mark it FIXED there when applied. Patches not sent to Bugzilla will not be reviewed. --- This file is scheduled to be generated every Tuesday and Friday 1:00 CET for the cocoon-dev mailing list, on Sundays 1:00 CET for the cocoon-users mailing list. For any problem, question or suggestion, please notify [EMAIL PROTECTED] --- There is a HEAD branch and sometimes a previous-version branch that are maintained. Where will the patch go? 1. If it is a bug fix it should go to both branches 2. If something is totally new it goes into HEAD scratchpad. 3. Something in between, but does not break backward compatibility _may_ go into both (and may not) 4. For everything else, a vote is required so first it may go into HEAD, and then be VOTEd in order to sync this into branch. Please note that structural changes have to be VOTEd first. - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faqs.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL
Embedded fonts on fop+cocoon2
please replay to [EMAIL PROTECTED] Help me, i use cocoon2 to make a PDF. I create a xml file with a servlet and i use FOPSerializer to convert, using a xslt configuring a user-config file, but i have on apache log this message: [fop] HttpProcessor[8180][4]/MessageHandler: unknown font Trebuchet,normal,normal so defaulted font to any. I've already fixed the problem of user-config path files, i have put absolute path or the relative path starting from $TOMCAT_HOME How i can solve it?
Re: Embedded fonts on fop+cocoon2
See on FOP-FAQ for fonts inclusion in fop. This userconfig.xml fragment works for me with Verdana font: for Trebuchet font create your xml file from ttf. (it's a strange misture of file: protocol and *empty* protocol!!!) !-- start userconfig.xml -- configuration fonts font metrics-file=file:///C:/Fop-0.20.0/conf/verdana.ttf.xml embed-file=C:\WINNT\Fonts\verdana.ttf kerning=yes font-triplet name=Verdana style=normal weight=normal/ /font font metrics-file=file:///C:/Fop-0.20.0/conf/verdanab.ttf.xml embed-file=C:\WINNT\Fonts\verdanab.ttf kerning=yes font-triplet name=Verdana style=normal weight=bold/ /font font metrics-file=file:///C:/Fop-0.20.0/conf/verdanai.ttf.xml embed-file=C:\WINNT\Fonts\verdanai.ttf kerning=yes font-triplet name=Verdana style=italic weight=normal/ /font font metrics-file=file:///C:/Fop-0.20.0/conf/verdanaz.ttf.xml embed-file=C:\WINNT\Fonts\verdanaz.ttf kerning=yes font-triplet name=Verdana style=italic weight=bold/ /font /fonts /configuration !-- end userconfig.xml -- -- matteo See www.unipdleague.da.ru = OUR FANTACALCIO LEAGUE! -- - Original Message - From: Fastweb [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Sunday, March 24, 2002 1:55 AM Subject: Embedded fonts on fop+cocoon2 please replay to [EMAIL PROTECTED] Help me, i use cocoon2 to make a PDF. I create a xml file with a servlet and i use FOPSerializer to convert, using a xslt configuring a user-config file, but i have on apache log this message: [fop] HttpProcessor[8180][4]/MessageHandler: unknown font Trebuchet,normal,normal so defaulted font to any. I've already fixed the problem of user-config path files, i have put absolute path or the relative path starting from $TOMCAT_HOME How i can solve it? - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faqs.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Minimal Requirements
I'm trying to build a site using cocoon, but for my production system I don't want any of the examples cluttering up my disk or the site. I don't need any SQL, XSL:FO, SVG, any of the demo sites, or even HTML output, and so I'd like to be able to remove all of those things from cocoon.xconf and sitemap.xmap, as well as remove the uncessecessary .jars from the lib/ directory. Does anyone know of a sample Cocoon config that is absolutely the bare minimum for generating XML with JSP and transforming with XSLT transformers? I'm trying to strip out the extra pieces from my configs one by one, but its a long and tedious process because there seem to be hidden dependencies all over the place. I'm hoping someone has already done this and could help me out. Thanks! -- Peter Davis - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faqs.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Minimal Requirements
From: Peter Davis [mailto:[EMAIL PROTECTED]] On Behalf Of Peter Davis (by way I'm trying to build a site using cocoon, but for my production system I don't want any of the examples cluttering up my disk or the site. I don't need any SQL, XSL:FO, SVG, any of the demo sites, or even HTML output, and so I'd like to be able to remove all of those things from cocoon.xconf and sitemap.xmap, as well as remove the uncessecessary .jars from the lib/ directory. Does anyone know of a sample Cocoon config that is absolutely the bare minimum for generating XML with JSP and transforming with XSLT transformers? I'm trying to strip out the extra pieces from my configs one by one, but its a long and tedious process because there seem to be hidden dependencies all over the place. I'm hoping someone has already done this and could help me out. Doing this all the time ;) Here is the way (assuming you have source distribution): 1. build clean 2. remove all JAR files you do not need from the lib/optional (consult installing/jars.xml document on the disk or on the xml.apache.org site) 3. remove all pipelines from the sitemap.xmap, leave one map:pipeline with at least map:generate, map:transform (optional), map:serialize. You may want to have one pipeline with the map:read also for static resources. 4. remove all unneeded components from the sitemap.xmap 5. visit cocoon.xconf, check may be you do not need something there also (say, XSP language or certain XSP logicsheets) 6. build -Dinclude.webapp.libs=yes webapp Here it is, Cocoon webapp as you want it. Regards, Vadim Thanks! -- Peter Davis - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faqs.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]