Where i can get detailed information of sitemap and parameters
Hi all I was looking into bonebreaker sample site where the sitemap of bonebreaker says map:generate src=documents / {1} / {2}.xml/ what is the meaning of {1} / {2}.xml Is there any guideline or tutorial for sitemap configuration? Regards Sreenivasan. Attitudes are much more important than aptitudes. Nothing is impossible for a willing heart Sreenivasan N. Sony SARD Ext 232 Email. [EMAIL PROTECTED] Per: [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]
Where is META tag coming from?
Hi A very stupid -but frustrating - problem this: I have an XSP generating an XML file and being transformed by XSL - nothing new here. When I look at the resultant HTML, tho', I see a line: META http-equiv=Content-Type content=text/html; charset=UTF-8 has been added below the html (that I create). No big deal? But, whatever is doing this, is doing the same thing to a javascript snippet that has: write('html'); write('head'); in the XSL file, and causing it to become: write('html'); write('head META http-equiv=Content-Type content=text/html; charset=UTF-8'); in the HTML thereby causing it fail because of the linewrap. (yes, if you remove that line and test the saved HTML page 'manually' it does work) Why is this happening and, more important, how do I stop it adding these META tags? Thanks Derek - 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]
: Where i can get detailed information of sitemap and parameters
hello: The {1} represent the first wildchard, {2} represent the second,and so on. -ÓʼþÔ¼þ- ·¢¼þÈË: Sreenivasan N. [mailto:[EMAIL PROTECTED]] ·¢ËÍʱ¼ä: 2002Äê3ÔÂ22ÈÕ 16:32 ÊÕ¼þÈË: [EMAIL PROTECTED] Ö÷Ìâ: Where i can get detailed information of sitemap and parameters Hi all I was looking into bonebreaker sample site where the sitemap of bonebreaker says map:generate src=documents / {1} / {2}.xml/ what is the meaning of {1} / {2}.xml Is there any guideline or tutorial for sitemap configuration? Regards Sreenivasan. Attitudes are much more important than aptitudes. Nothing is impossible for a willing heart Sreenivasan N. Sony SARD Ext 232 Email. [EMAIL PROTECTED] Per: [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] - 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: Where i can get detailed information of sitemap and parameters
Once your Cocoon is running, you should be able to get to the detailled explanation simply by clicking on the appropriate links. Or try this: http://localhost:8080/cocoon/documents/userdocs/concepts/sitemap.html. If oyu have a standard installation, it will take you to it. -Message d'origine- De: Sreenivasan N. [mailto:[EMAIL PROTECTED]] Date: vendredi, 22. mars 2002 09:32 À: [EMAIL PROTECTED] Objet: Where i can get detailed information of sitemap and parameters Hi all I was looking into bonebreaker sample site where the sitemap of bonebreaker says map:generate src=documents / {1} / {2}.xml/ what is the meaning of {1} / {2}.xml Is there any guideline or tutorial for sitemap configuration? Regards Sreenivasan. Attitudes are much more important than aptitudes. Nothing is impossible for a willing heart Sreenivasan N. Sony SARD Ext 232 Email. [EMAIL PROTECTED] Per: [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] - 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]
question about cacheable and blocking simultaneous access
hi list, i am wondering, if generators, that implement the cacheable interface, automatically block simultaneous accesses? i want to write a generator, which has to execute heavy computings. so if caching is enabled, it would be clever to compute just once - that means that all other requests have to wait until the first generator is ready - and after that just read the results from the cache. any help would be appreciated, moritz. - 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: i18n questions
Title: Message Hi From: M. Reck [mailto:[EMAIL PROTECTED]] Sent: Friday, March 22, 2002 12:29 AMTo: [EMAIL PROTECTED]Subject: i18n questionsHi all, I am trying to develop a multilingual site by use of the i18n-Transformer. But some questions arise: 1. Is it possible to have the translations for all languages in the same one file? I mean one file per site. [KP]No, AFAIR, translationscatalog followsResource bundle logic, when you have separatefile for every locale. 2. Where do I have to put the dictionary and how do I call it from the xml-file resp. xsl-file? [KP]See i18n sample from Cocoon. You'll find all necessary configuration hints in the root sitemap and the sub-sitemapfrom the sample. 3. Why is there no dictionary.xml file in the i18n sample, but instead messages(_locale).xml files whose contents is quite different from the example for the dictionary entry in the documentation of the i18n transformer? [KP]Dictionary handling were changed before the first release. Docs areout of date (there were a newer version, but for some reason it didn't reach Cocoon's CVS) and I'll try to update them. -- Konstantin P.S. Please, use plain text format for your emails. Any help is very much appreciated! Martina
RE: [HELP]SAXException JspGenerator.generate() - Using Tom Cat 4.0.1 and latest Cocoon build JDK 1.3.1
-Original Message- From: Chitharanjan Das [mailto:[EMAIL PROTECTED]] Hello Peter, Interestingly there are no errors in the core.log., whatsoever... There are no errors in error.log The only error was in sitemap.log*** Does Cocoon JSP samples work? Try to use JSPReader to see if you get _any_ output from your JSP. Check if your JSP is compiled (see work directory). Did you copy jasper-compiler.jar to cocoon/WEB-INF/lib? JSPEngine won't work without that. Regards, Konstantin Piroumian The contents of hello.jsp are --- %@ page language='java' session='false' % page titleHello/title content paraThis is my first Cocoon2 page!/para /content /page --- I had saved the war file from a previous installation Here is what I did Stopped TomCat 4.0.1 I deleted all the files under TomCat/work for the old cocoon Removed the old war file from TomCat webapp directory Copied the new Cocoon war... Restart Tom Cat. I test SVG creation and text generator examples, everything works. But JSP does not work. I had read somewhere that there will be a new Compiler for JSP's and it would be included in the new release, is this creating the problems. To revert back to the old war (in which JSP works), I do the following... Stop TomCat Delete all the files under TomCat\work for the cocoon context Replace the new Cocoonwar with the old one Restart TomCat Test JSP and other formats, it works... The questions are, Am I missing any steps in configuring the new release.. Have you tested JSP's with the latest Cocoon build (as of yesterday around 7:00 PM Pacific Time). If you have a working war with the latest build, could you mail it to me separately. Thanks and regds, Chiths -Original Message- From: Peter Schwenke [mailto:[EMAIL PROTECTED]] Sent: Thursday, March 21, 2002 7:36 PM To: [EMAIL PROTECTED] Subject: RE: [HELP]SAXException JspGenerator.generate() - Using Tom Cat 4.0.1 and latest Cocoon build JDK 1.3.1 The error is being trapped in JspGenerator for something called by JspGenerator. JspGenerator runs the JSP page and passes whatever output it gets to XML parser. Then the output of that goes to the next thing in the pipeline. The SAX Exception is because it cannot parse the output from your JSP. So either your JSP has not compiled and run correctly or the XML it generates is incorrect. You need to check your cocoon log. On my system this $CATALINA_HOME/cocoon/WEB-INF/logs/core.log.0? ...Peter Chitharanjan Das writes: Hello, The Exception being thrown is Also attached is the function where the exception occurs... Please , we are in midst of our evaluation of Cocoon and this is causing problems in us pitching this solution.. Regds, Chiths DEBUG (2002-03-21) 17:21.31:248 [sitemap.transformer.xslt](/accordiadev/jsp/hello) HttpProcessor[8080][4]/TraxTransformer: Using stylesheet: 'file:/C:/Projects/cocoon/Development/xml-cocoon2/build/cocoon /webapp/st ylesheets/page/simple-page2html.xsl' in org.apache.cocoon.transformation.TraxTransformer@4a3158, last modified: 1016686998673 WARN(2002-03-21) 17:21.32:200 [sitemap](/accordiadev/jsp/hello) HttpProcessor[8080][4]/sitemap_xmap: Error, try to process the error page org.apache.cocoon.ProcessingException: SAXException JspGenerator.generate() at org.apache.cocoon.generation.JspGenerator.generate(JspGenerato r.java:132 ) at org.apache.cocoon.components.pipeline.CachingEventPipeline.pro cess(Cachi ngEventPipeline.java:251) at org.apache.cocoon.components.pipeline.CachingStreamPipeline.pr ocess(Cach ingStreamPipeline.java:399) at org.apache.cocoon.www.sitemap_xmap.matchN107D2(C:\Products\Web Servers\To mCat40\work\localhost\accordiadev\cocoon-files\org/apache/coco on/www\sit emap_xmap.java:9727) at org.apache.cocoon.www.sitemap_xmap.process(C:\Products\WebServ ers\TomCat 40\work\localhost\accordiadev\cocoon-files\org/apache/cocoon/w ww\sitemap _xmap.java:3710) at org.apache.cocoon.www.sitemap_xmap.process(C:\Products\WebServ ers\TomCat 40\work\localhost\accordiadev\cocoon-files\org/apache/cocoon/w ww\sitemap _xmap.java:3127) at org.apache.cocoon.sitemap.Handler.process(Handler.java:222) at org.apache.cocoon.sitemap.Manager.invoke(Manager.java:179) at org.apache.cocoon.sitemap.SitemapManager.process(SitemapManage r.java:154 ) at org.apache.cocoon.Cocoon.process(Cocoon.java:575) at org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet. java:991) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at
Re: Automatic FAQ
On Friday 22 March 2002 10:35, Olivier Rossel wrote: . . . I wonder if there is a piece of software that accepts mails as input and format them for the web. . . . This is just one piece of the puzzle: seems like XMTP (http://www.openhealth.org/xmtp/) can convert mail messages (RFC-822 format, standard) to XML. I haven't tested it, but hooking this up with procmail shouldn't be hard. You could then save the messages in XIndice and run queries against this message-base with Cocoon. Some assembly is required in this case, there's probably something out there that already does it but it would sure be interesting to build it with cocoon... -- Bertrand Delacrétaz (codeconsult.ch, jfor.org) buzzwords: XML, java, XSLT, cocoon, mentoring/teaching/coding. disclaimer: eternity is very long. mostly towards the end. get ready. - 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: Automatic FAQ
I wonder if there is a piece of software that accepts mails as input and format them for the web. So I can forward it the best mails of the lists, and browse them, as an FAQ. I agree that this is a good idea, but you can do this in a lot less technical way -- in fact I have been doing it for the XML-DEV mailing list for roughly 2 years now through the eclectic weblog. cocoon-users has a mail archive, so the messages are already formatted for the web and you can point to them. All that's missing is the editorial process to sift through these messages to get the real gems. Why not set up a weblog and start pointing to interesting postings? I've started collecting a list of 'Cocoon tips' based on this process, but haven't published them. I just drop the notes into the Wiki page I run on my laptop. Cheers, L. -- Leigh Dodds, Research Group, Ingenta | Pluralitas non est ponenda http://weblogs.userland.com/eclectic |sine necessitate http://www.xml.com/pub/xmldeviant| -- William of Ockham - 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]
Using XSLTC
Hi, I have seen the mailings regarding XSLTC not working with cocoon. I was wondering what the exact problem is and how limiting this is. For example, if all I want to do is a transform step in a pipeline using XSLTC is this theoretically possible now? Would this require having to write a new transformer component? We are also considering writing our own generator (for other reasons) so could we use xsltc there using straight java code? Also, if either of these is doable would it require using the newer version of xalan currently on the apache website and would this give problems with cocoon (v2)? I have tried adding xsltc as another xsl processor via xconf but with no luck, so if anyone has got this to work then please let me know all the details! Thanks, Grant This message may contain privileged and/or confidential information. If you have received this e-mail in error or are not the intended recipient, you may not use, copy, disseminate or distribute it; do not open any attachments, delete it immediately from your system and notify the sender promptly by e-mail that you have done so. Thank you. - 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: [Request] Upgrade instructions for new releases
I was meaning as part of the documentation for the release. It will surely vary depending on the release: simple bugfix releases won't require much, extensive changes to sitemaps will. On Wednesday 20 Mar 2002 12:56 pm, Nicola Ken Barozzi wrote: From: Peter Robins [EMAIL PROTECTED] If a new release is imminent, can we please have instructions for those who are upgrading rather than installing from scratch. Upgrading is not simply a matter of copying over a war: the workfiles need to be cleared, there may be changes needed to sitemaps or configuration files. After the last upgrade, quite a few things on my installation stopped working; some were easy to fix, some still don't work, and the documentation wasn't very helpful. The basic rules are: 1. delete work dir 2. change jars 3. use the latest cocoon.xconf version and modify that 4. if you use Tomcat versions 4.0.(2|3) read workaround info for install in mailing list archives. 5. check that the components in the sitemap conform to the ones in the example sitemap - 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: Where is META tag coming from?
Derek Hohls wrote: write('html'); write('head'); in the XSL file, and causing it to become: I think it's because cocoon sees the tags, not the context. Rather, to cocoon, the tags are the context and the rest is just so much content. Probably a good thing generally, but it's hurting you here. Have you tried write(''+'head');? Not sure if that will work as a quick fix, or whether this mysterious '+'head tag will cause trouble. You probably want your Javascript in a different file anyway, though. Hope that helps, -- MJR , | Q. Do you need a net-based application developing, |or advice and training about web technology? | A. I suggest you try http://www.luminas.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]
Re: Automatic FAQ
Olivier Rossel wrote: Does it sound interesting to anyone? May be, such a project already exists. Yes, it's an interesting idea. Luminas is already doing a semi-automatic grabbing of URLs sent to the lists and formatting those through Cocoon. You can see it at http://www.luminas.co.uk/technology/cocoon/url/ each Wednesday. I need to try to make it fully automatic and improve things about it, though. I'm working on the theory that all the interesting stuff appears at a URL eventually, even if it's only a pointer to a past message in a mailing list archive. There's a lot of scope to run with this sort of idea. Feel free to take a jog with us. -- MJR , | Q. Do you need a net-based application developing, |or advice and training about web technology? | A. I suggest you try http://www.luminas.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]
Re: Where is META tag coming from?
I've tried the (''+'head') without success... sorry. I've also tried including the function in a separate file, but with the same lack of result - at the end, I think, because, its also processed by Cocoon - and, even if this did work, its only a quick fix because, in some cases, the javascript itself must be dynamically changed *in context* Any other ideas as to how to disable this activity by Cocoon ('good' is, of course, relative...) Derek [EMAIL PROTECTED] 22/03/2002 02:50:05 Derek Hohls wrote: write('html'); write('head'); in the XSL file, and causing it to become: I think it's because cocoon sees the tags, not the context. Rather, to cocoon, the tags are the context and the rest is just so much content. Probably a good thing generally, but it's hurting you here. Have you tried write(''+'head');? Not sure if that will work as a quick fix, or whether this mysterious '+'head tag will cause trouble. You probably want your Javascript in a different file anyway, though. Hope that helps, -- MJR , | Q. Do you need a net-based application developing, |or advice and training about web technology? | A. I suggest you try http://www.luminas.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: ESQL - mixed case in column names spits attribute lowercase-col umn-name not found on SELECT
Title: RE: ESQL - mixed case in column names spits attribute lowercase-col umn-name not found on SELECT In case anyone is curious: the attribute foo not found error is PostgreSQL specific (or at least it shows up in the console interface) and is fixed by making the column names all lowercase. -Tom -Original Message- From: von Schwerdtner, Thomas (GXS, FPI) Sent: Thursday, March 21, 2002 10:45 AM To: '[EMAIL PROTECTED]' Subject: ESQL - mixed case in column names spits attribute lowercase-col umn-name not found on SELECT OK, I have moved from java 1.4 to 1.3.1 and the postgresql jdbc driver is working now, but I've run into another problem. In short, I have a esql:query like so: esql:querySELECT * FROM supporttype/esql:query and esql:get-string column=Type/ which works just fine (resulting page displays the contents of the 'Type' column). If I change the query to: SELECT Type FROM supportype (changing the '*' to 'Type' I get this error: org.apache.cocoon.ProcessingException: Exception in ServerPagesGenerator.generate(): java.lang.RuntimeException: Error executing statement: SELECT Type FROM supporttype: java.sql.SQLException: ERROR: Attribute 'type' not found Changing 'Type' to anything else (any other existing column anyways), produces the same error except the not-found attribute is always the lowercase version of the column I am trying to select from (which is always mixed-case). Developers: Is this a bug in CVS? TIA, -Tom
RE: question about cacheable and blocking simultaneous access
From: Moritz Petersen [mailto:[EMAIL PROTECTED]] hi list, i am wondering, if generators, that implement the cacheable interface, automatically block simultaneous accesses? No. i want to write a generator, which has to execute heavy computings. so if caching is enabled, it would be clever to compute just once - that means that all other requests have to wait until the first generator is ready - and after that just read the results from the cache. You will have to figure this out by yourself. Vadim any help would be appreciated, moritz. - 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: Where is META tag coming from?
On 22.Mar.2002 -- 03:19 PM, Derek Hohls wrote: I've tried the (''+'head') without success... sorry. I've also tried including the function in a separate file, but with the same lack of result - at the end, I think, because, its also processed by Cocoon - and, even if this did work, its only a quick fix because, in some cases, the javascript itself must be dynamically changed *in context* Any other ideas as to how to disable this activity by Cocoon ('good' is, of course, relative...) Derek, we would need to know how your pipelines look like. I assume that you have inspected all transformation steps and generation as well? So, your problem is with the serializer used, right? Have you tried a different one or a different mime-type? If nothing helps, I would expect a reader to leave the file as is and not modify it. Chris. -- C h r i s t i a n H a u l [EMAIL PROTECTED] fingerprint: 99B0 1D9D 7919 644A 4837 7D73 FEF9 6856 335A 9E08 - 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: Where is META tag coming from?
On 22.Mar.2002 -- 10:26 AM, Derek Hohls wrote: No big deal? But, whatever is doing this, is doing the same thing to a javascript snippet that has: write('html'); write('head'); On another note: since XML doesn't know about JS strings, what happens here is ![#PCDATA[write(']]html![#PCDATA['); write(' and so on. But you want ![#PCDATA[write('lt;htmlgt;'); write(' IOW you don't want to create nodes but text. Thus you should replace with lt; and with gt; in all your strings or java code. Chris. -- C h r i s t i a n H a u l [EMAIL PROTECTED] fingerprint: 99B0 1D9D 7919 644A 4837 7D73 FEF9 6856 335A 9E08 - 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: Automatic FAQ
Very good remarks. Especially, the idea of a weblog that points to interesting URLs (web, mailing-list archives or whatever) could be really nice. Keeping reading the list is a heavy task, so a weblog could be nice when you have not a lot of time for it. I am french citizen and daily reads linuxfr.org, (coded in PHP, with XML as the internal exchange format :-), it could be nice to have such a thing for Cocoon people. It would be a must-read for any hard-core fan of Cocoon :-) And the entry point of the Cocoon community. - 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: Where is META tag coming from?
-Original Message- From: Derek Hohls [mailto:[EMAIL PROTECTED]] Sent: 22 March 2002 13:20 To: [EMAIL PROTECTED] Subject: Re: Where is META tag coming from? I've tried the (''+'head') without success... sorry. I've also tried including the function in a separate file, but with the same lack of result - at the end, I think, because, its also processed by Cocoon - and, even if this did work, its only a quick fix because, in some cases, the javascript itself must be dynamically changed *in context* Any other ideas as to how to disable this activity by Cocoon ('good' is, of course, relative...) Derek [EMAIL PROTECTED] 22/03/2002 02:50:05 Derek Hohls wrote: write('html'); write('head'); in the XSL file, and causing it to become: I think it's because cocoon sees the tags, not the context. Rather, to cocoon, the tags are the context and the rest is just so much content. Probably a good thing generally, but it's hurting you here. Have you tried write(''+'head');? Not sure if that will work as a quick fix, or whether this mysterious '+'head tag will cause trouble. You probably want your Javascript in a different file anyway, though. Hope that helps, -- MJR , | Q. Do you need a net-based application developing, |or advice and training about web technology? | A. I suggest you try http://www.luminas.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] - 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: Where is META tag coming from?
That META tag is injected by the HTML serializer - one of the standard serializers in the W3C XSLT recommendations - see section 16.2 HTML output method. I don't know how you override it. WBB - 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: question about cacheable and blocking simultaneous access
Moritz Petersen wrote: hi list, i am wondering, if generators, that implement the cacheable interface, automatically block simultaneous accesses? i want to write a generator, which has to execute heavy computings. so if caching is enabled, it would be clever to compute just once - that means that all other requests have to wait until the first generator is ready - and after that just read the results from the cache. any help would be appreciated, You could take some information from DBPrismGenerator (http://www.dbprism.com.ar/dbprism/doc/xdocs/DBPrismGenerator.html) It implements parallel content agregation using the setup stage to fire the generation in advance. Also uses DBPrism External Cache Invalidator Server to externally control which page are no longer valid and so on. moritz. If you need the source Download the newest version 2.0.0-alpha1 (12mb including cocoon 2.0.1-bin) or I'll sent to you the java code alone. Best regards, Marcelo. -- Marcelo F. Ochoa - [EMAIL PROTECTED] Do you Know DB Prism? Look @ http://www.plenix.com/dbprism/ More info? Chapter 21 of the book Professional XML Databases (Wrox Press http://www.wrox.com/) Chapter 8 of the book Oracle Open Source (O'Reilly http://www.oreilly.com/catalog/oracleopen/) --- Lab. de Sistemas - Fac. de Cs. Exactas - UNICEN Paraje Arroyo Seco - Campus Universitario (7000) Tandil - Bs. AS. - Argentina Te: +54-2293-30 Fax: +54-2293-31 - 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]
Problem with linking to CSS via Cocoon
Hello, I've faced with more then mysterious problem: Cocoon (under Apache Tomcat/4.0) generates error message in server console and in logs if my css file is more then 2KB (2048b). I have default sitemap where I just removed all the pipeline and inserted the following: map:pipelines map:pipeline map:match pattern=*.css map:read src={1}.css mime-type=text/css/ /map:match map:match pattern=*.html map:read src={1}.html mime-type=text/html/ /map:match map:handle-errors map:transform src=stylesheets/system/error2html.xsl/ map:serialize status-code=500/ /map:handle-errors /map:pipeline /map:pipelines My test html is: HTML HEAD titleTest/title LINK rel='stylesheet' type='text/css' href=mycss.css/ /HEAD body form name=fff method=post This is a test of reference to CSS. /form /body /HTML After tests I've became to the mycss.css file which contains first line with code body {background-color: white} and other lines with spaces only - up to 2049 bytes of the file size. If I remove one space then the error disappears. Moreover, if I place some old css renamed as mycss.css (more than 3KB) instead of described version of mycss.css then error message disappear, BUT if I change the modification date of this css then error becomes again. I've tryed to change the default server port to 8090, but result is the same. What a magic? I don't understand. It seems that this is cache concerned. I've tryed to remove cocoon's working directory - it did not help. On other workstation it works without problems. What should I check in my configuration? Has somebody any idea? Thank you for response. Roman - 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]
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) etc etc etc 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]
Re: Automatic FAQ
FYI, the domain name cocoon-users.org is available. I agree that a site like the one you mentioned would be a very valuable resource. However, the entry point for new cocoon users is the site on apache.org; we probably should focus on improving it instead of making lots of small sites. A. On Friday, March 22, 2002, at 10:13 , Olivier Rossel wrote: Very good remarks. Especially, the idea of a weblog that points to interesting URLs (web, mailing-list archives or whatever) could be really nice. Keeping reading the list is a heavy task, so a weblog could be nice when you have not a lot of time for it. I am french citizen and daily reads linuxfr.org, (coded in PHP, with XML as the internal exchange format :-), it could be nice to have such a thing for Cocoon people. It would be a must-read for any hard-core fan of Cocoon :-) And the entry point of the Cocoon community. - 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: Automatic FAQ
At 09:35 22/03/2002, you wrote: I wonder if there is a piece of software that accepts mails as input and format them for the web. So I can forward it the best mails of the lists, and browse them, as an FAQ. The editing part of FAQ maintenance cannot be underestimated. I'm quite keen to discuss FAQ building with anyone interested. I sort of look after the FOP FAQ and attempted to fix the Jyve-FAQ. I was re-directed to the forrest-dev mailing list for FAQ discussion but there hasn't been much talk about it yet. I am thinking more and more that an XIndice and Cocoon based FAQ system would be best - but I don't have any intention of adding stuff by email. H Alex 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]
[HELP]Exception in creating Transform Handler
Description:org.apache.cocoon.ProcessingException: Exception in creating Transform Handler: java.lang.NullPointerException I'm Albert Hervas, a student from Barcelona (Catalonia). Im a very beginner with Cocoon2 and web developing in general. I just don't know how to associate a 'logicsheet' (xsl file with containing xsp:logic) to a certain xml document. And this is the exception I get. I just would like to know what the pipeline in my 'sitemap.xmap' must look like. I know this is pretty 'basic' but I'm stuck here! Thank you, Albert Hervas -- ___ Sign-up for your own FREE Personalized E-mail at Mail.com http://www.mail.com/?sr=signup Win the Ultimate Hawaiian Experience from Travelocity. http://ad.doubleclick.net/clk;4018363;6991039;n?http://svc.travelocity.com/promos/winhawaii/ - 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]
Internal Server Error - Language Exception -- Help Me Please
hi. i am trying to have cocoon compile from the .war file and i get a language exception. i am using j2sdk1.4.0, tomcat4.0, apache1.3, and cocoon2.0.1. can anyone help? Cocoon 2 - Internal server error type fatal message Language Exception description org.apache.cocoon.ProcessingException: Language Exception: org.apache.cocoon.components.language.LanguageException: Error compiling sitemap_xmap: Line 0, column 0: could not parse error message: error: Invalid class file format in c:\j2sdk1.4.0\jre\lib\rt.jar(java/io/OutputStream.class). The major.minor version '48.0' is too recent for this tool to understand. C:\ApacheTomcat4.0\work\localhost\cocoon\cocoon-files\org\apache\cocoon\www\sitemap_xmap.java:12: Class java.io.OutputStream not found in import. import java.io.OutputStream; ^ Line 0, column 0: could not parse error message: error: Invalid class file format in c:\j2sdk1.4.0\jre\lib\rt.jar(java/io/IOException.class). The major.minor version '48.0' is too recent for this tool to understand. C:\ApacheTomcat4.0\work\localhost\cocoon\cocoon-files\org\apache\cocoon\www\sitemap_xmap.java:13: Class java.io.IOException not found in import. import java.io.IOException; ^ Line 0, column 0: could not parse error message: error: Invalid class file format in c:\j2sdk1.4.0\jre\lib\rt.jar(java/util/List.class). The major.minor version '48.0' is too recent for this tool to understand. C:\ApacheTomcat4.0\work\localhost\cocoon\cocoon-files\org\apache\cocoon\www\sitemap_xmap.java:15: Class java.util.List not found in import. import java.util.List; ^ Line 0, column 0: could not parse error message: error: Invalid class file format in c:\j2sdk1.4.0\jre\lib\rt.jar(java/util/ArrayList.class). The major.minor version '48.0' is too recent for this tool to understand. C:\ApacheTomcat4.0\work\localhost\cocoon\cocoon-files\org\apache\cocoon\www\sitemap_xmap.java:16: Class java.util.ArrayList not found in import. import java.util.ArrayList; ^ Line 0, column 0: could not parse error message: error: Invalid class file format in c:\j2sdk1.4.0\jre\lib\rt.jar(java/util/Map.class). The major.minor version '48.0' is too recent for this tool to understand. C:\ApacheTomcat4.0\work\localhost\cocoon\cocoon-files\org\apache\cocoon\www\sitemap_xmap.java:17: Class java.util.Map not found in import. import java.util.Map; ^ Line 0, column 0: could not parse error message: error: Invalid class file format in c:\j2sdk1.4.0\jre\lib\rt.jar(java/util/HashMap.class). The major.minor version '48.0' is too recent for this tool to understand. C:\ApacheTomcat4.0\work\localhost\cocoon\cocoon-files\org\apache\cocoon\www\sitemap_xmap.java:18: Class java.util.HashMap not found in import. import java.util.HashMap; ^ Line 0, column 0: could not parse error message: error: Invalid class file format in c:\j2sdk1.4.0\jre\lib\rt.jar(java/util/Stack.class). The major.minor version '48.0' is too recent for this tool to understand. C:\ApacheTomcat4.0\work\localhost\cocoon\cocoon-files\org\apache\cocoon\www\sitemap_xmap.java:19: Class java.util.Stack not found in import. import java.util.Stack; ^ Line 0, column 0: could not parse error message: error: Invalid class file format in c:\j2sdk1.4.0\jre\lib\rt.jar(java/util/StringTokenizer.class). The major.minor version '48.0' is too recent for this tool to understand. C:\ApacheTomcat4.0\work\localhost\cocoon\cocoon-files\org\apache\cocoon\www\sitemap_xmap.java:20: Class java.util.StringTokenizer not found in import. import java.util.StringTokenizer; ^ Line 0, column 0: error: Invalid class file format in c:\j2sdk1.4.0\jre\lib\rt.jar(java/lang/Object.class). The major.minor version '48.0' is too recent for this tool to understand. error: Class java.lang.Object not found in class org.apache.avalon.framework.logger.AbstractLoggable. 18 errors sender org.apache.cocoon.servlet.CocoonServlet source Cocoon servlet request-uri /cocoon/ path-info _ Send and receive Hotmail on your mobile device: http://mobile.msn.com - 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]
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]
RE: Cocoon and XIndice versions
Title: RE: Cocoon and XIndice versions There are instructions on the recent list archives on getting Cocoon/Tomcat working with jdk1.4 For starters, see: http://www.mail-archive.com/cocoon-users@xml.apache.org/msg08873.html I know nothing of Xindice but maybe that will get you going in the right direction. HTH, -Tom -Original Message- From: Alex McLintock [mailto:[EMAIL PROTECTED]] Sent: Friday, March 22, 2002 12:04 PM To: [EMAIL PROTECTED] Subject: 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]
Re: Internal Server Error - Language Exception -- Help Me Please
Wait a minute, are you trying to compile FROM the .war file. The .war file is what you drop into your servlet engine for Cocoon to Run. On 03/22/02 6:57, Jeremy Beeler [EMAIL PROTECTED] wrote: hi. i am trying to have cocoon compile from the .war file and i get a language exception. i am using j2sdk1.4.0, tomcat4.0, apache1.3, and cocoon2.0.1. can anyone help? Cocoon 2 - Internal server error -- -- type fatal message Language Exception description org.apache.cocoon.ProcessingException: Language Exception: org.apache.cocoon.components.language.LanguageException: Error compiling sitemap_xmap: Line 0, column 0: could not parse error message: error: Invalid class file format in c:\j2sdk1.4.0\jre\lib\rt.jar(java/io/OutputStream.class). The major.minor version '48.0' is too recent for this tool to understand. C:\ApacheTomcat4.0\work\localhost\cocoon\cocoon-files\org\apache\cocoon\www\si temap_xmap.java:12: Class java.io.OutputStream not found in import. import java.io.OutputStream; ^ Line 0, column 0: could not parse error message: error: Invalid class file format in c:\j2sdk1.4.0\jre\lib\rt.jar(java/io/IOException.class). The major.minor version '48.0' is too recent for this tool to understand. C:\ApacheTomcat4.0\work\localhost\cocoon\cocoon-files\org\apache\cocoon\www\si temap_xmap.java:13: Class java.io.IOException not found in import. import java.io.IOException; ^ Line 0, column 0: could not parse error message: error: Invalid class file format in c:\j2sdk1.4.0\jre\lib\rt.jar(java/util/List.class). The major.minor version '48.0' is too recent for this tool to understand. C:\ApacheTomcat4.0\work\localhost\cocoon\cocoon-files\org\apache\cocoon\www\si temap_xmap.java:15: Class java.util.List not found in import. import java.util.List; ^ Line 0, column 0: could not parse error message: error: Invalid class file format in c:\j2sdk1.4.0\jre\lib\rt.jar(java/util/ArrayList.class). The major.minor version '48.0' is too recent for this tool to understand. C:\ApacheTomcat4.0\work\localhost\cocoon\cocoon-files\org\apache\cocoon\www\si temap_xmap.java:16: Class java.util.ArrayList not found in import. import java.util.ArrayList; ^ Line 0, column 0: could not parse error message: error: Invalid class file format in c:\j2sdk1.4.0\jre\lib\rt.jar(java/util/Map.class). The major.minor version '48.0' is too recent for this tool to understand. C:\ApacheTomcat4.0\work\localhost\cocoon\cocoon-files\org\apache\cocoon\www\si temap_xmap.java:17: Class java.util.Map not found in import. import java.util.Map; ^ Line 0, column 0: could not parse error message: error: Invalid class file format in c:\j2sdk1.4.0\jre\lib\rt.jar(java/util/HashMap.class). The major.minor version '48.0' is too recent for this tool to understand. C:\ApacheTomcat4.0\work\localhost\cocoon\cocoon-files\org\apache\cocoon\www\si temap_xmap.java:18: Class java.util.HashMap not found in import. import java.util.HashMap; ^ Line 0, column 0: could not parse error message: error: Invalid class file format in c:\j2sdk1.4.0\jre\lib\rt.jar(java/util/Stack.class). The major.minor version '48.0' is too recent for this tool to understand. C:\ApacheTomcat4.0\work\localhost\cocoon\cocoon-files\org\apache\cocoon\www\si temap_xmap.java:19: Class java.util.Stack not found in import. import java.util.Stack; ^ Line 0, column 0: could not parse error message: error: Invalid class file format in c:\j2sdk1.4.0\jre\lib\rt.jar(java/util/StringTokenizer.class). The major.minor version '48.0' is too recent for this tool to understand. C:\ApacheTomcat4.0\work\localhost\cocoon\cocoon-files\org\apache\cocoon\www\si temap_xmap.java:20: Class java.util.StringTokenizer not found in import. import java.util.StringTokenizer; ^ Line 0, column 0: error: Invalid class file format in c:\j2sdk1.4.0\jre\lib\rt.jar(java/lang/Object.class). The major.minor version '48.0' is too recent for this tool to understand. error: Class java.lang.Object not found in class org.apache.avalon.framework.logger.AbstractLoggable. 18 errors sender org.apache.cocoon.servlet.CocoonServlet source Cocoon servlet request-uri /cocoon/ path-info _ Send and receive Hotmail on your mobile device: http://mobile.msn.com - 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] -- Carlos E. Araya ---+ WebCT Administrator/Trainer P | California Virtual Campus - | C/O De Anza College G | 21250 Stevens Creek Blvd ---+ Cupertino, CA 95014 email [EMAIL PROTECTED] web http://www.cvc1.org/ (work)
FW: Alternate formats for xml.apache.org/cocoon ?
Title: FW: Alternate formats for xml.apache.org/cocoon ? Folks, I'd like to print some of the documentation from the cocoon site, are there any plans to make PDF or PS versions available? Is there a reasonably simple way to convert the installed docs to PDF/PS without doing XML-FO work myself (since I know nothing of it (yet))? TIA, -Tom
RE: Cocoon and XIndice versions
Alex: When you work with Cocoon CVS, make sure: 1. You have latest CVS (as of yesterday is ok) 2. You have read install instructions from the CVS Vadim -Original Message- From: Alex McLintock [mailto:[EMAIL PROTECTED]] Sent: Friday, March 22, 2002 12:04 PM To: [EMAIL PROTECTED] Subject: 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) - 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: [HELP]Exception in creating Transform Handler
First make sample shipped with cocoon work for you. Look in the docs/samples/xsp/logicsheet.xsp for the sample logicsheet. PS Sample might not be in Cocoon 2.0.1. In this case, get snapshot from CVS or wait till March 25 for Cocoon 2.0.2 Vadim From: Albert Hervas [mailto:[EMAIL PROTECTED]] Description:org.apache.cocoon.ProcessingException: Exception in creating Transform Handler: java.lang.NullPointerException I'm Albert Hervas, a student from Barcelona (Catalonia). Im a very beginner with Cocoon2 and web developing in general. I just don't know how to associate a 'logicsheet' (xsl file with containing xsp:logic) to a certain xml document. And this is the exception I get. I just would like to know what the pipeline in my 'sitemap.xmap' must look like. I know this is pretty 'basic' but I'm stuck here! Thank you, Albert Hervas -- - 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: Internal Server Error - Language Exception -- Help Me Please
RTFM: http://cvs.apache.org/viewcvs.cgi/xml-cocoon2/src/documentation/xdocs/in stalling/index.xml?rev=1.16content-type=text/vnd.viewcvs-markup Get also http://cvs.apache.org/viewcvs.cgi/xml-cocoon2/build.bat?rev=1.18content -type=text/vnd.viewcvs-markup Vadim From: Jeremy Beeler [mailto:[EMAIL PROTECTED]] hi. i am trying to have cocoon compile from the .war file and i get a language exception. i am using j2sdk1.4.0, tomcat4.0, apache1.3, and cocoon2.0.1. can anyone help? Cocoon 2 - Internal server error -- -- type fatal message Language Exception description org.apache.cocoon.ProcessingException: Language Exception: org.apache.cocoon.components.language.LanguageException: Error compiling sitemap_xmap: Line 0, column 0: could not parse error message: error: Invalid class file format in c:\j2sdk1.4.0\jre\lib\rt.jar(java/io/OutputStream.class). The major.minor version '48.0' is too recent for this tool to understand. - 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: Question concerning form-validator-action
From: Axel Honfi [mailto:[EMAIL PROTECTED]] Hello! I have a simple question concerning the form-validator-action. I defined a param like this: parameter name=date type=date nullable=no/ How do you know that it supports type=date? PS Have you read javadoc? Vadim But in which format should I input the date(dd.mm.yy or ddmmyyy or ...? All my tries failed to validate, does anyone know the correct syntax? Thanks in advance Axel - 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: [HELP]Exception in creating Transform Handler
map:pipeline map:match pattern=someuri map:generate type=file src=somefile.xml/ map:transform src=somesheet.xsl/ !-- xslt default transformation -- map:serialize type=html/ /map:pipeline The simplest. You should check the different sitemaps provided with the samples. Hope it helps, Albert Hervas wrote: Description:org.apache.cocoon.ProcessingException: Exception in creating Transform Handler: java.lang.NullPointerException I'm Albert Hervas, a student from Barcelona (Catalonia). Im a very beginner with Cocoon2 and web developing in general. I just don't know how to associate a 'logicsheet' (xsl file with containing xsp:logic) to a certain xml document. And this is the exception I get. I just would like to know what the pipeline in my 'sitemap.xmap' must look like. I know this is pretty 'basic' but I'm stuck here! Thank you, Albert Hervas - 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]
ContentHandler-DocumentHandler
Hello, I can't quietly understand the deprecation between these interfaces. I see contentHandler deprecated in some places, as DocumentHandler in others. (Implementations.) As I understand it ContentHandler matchs the (standard?) SAX2 implementation, with support for namespaces. That's the way? Thanks, - 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: ESQL - Getting Column Names
On Friday 22 March 2002 11:15 am, you wrote: Hi Folks Assuming that I have something like this working, then I would like to know how I can get the column Names and use then in a TH and cycle through each row and print all the columns of each row as TD. How do I get access to the MetaData and use it to get the data I need. esql:get-column-name column=1/ should do it. See also: /documents/userdocs/xsp/esql.html On your cocoon server or the cocoon site -- docs from cvs look to be more up to date, though. Any help greatly appreciated. Regards Joseph Rajkumar === esql:querySELECT * FROM products/esql:query esql:results table TR I want to print each of the column names using the TH tag here, I do not know the number of columns, nor the column data type. /TR esql:row-results tr td HERE I WANT TO print the column data basically a loop to print the data from each column in a row. /td /tr /esql:row-results /table /esql:results - 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: [HELP]SAXException JspGenerator.generate() - Using Tom Cat 4.0.1 and latest Cocoon build JDK 1.3.1
Copied the jasper-compiler.jar from TomCat\lib to cocoon\WEB-INF\lib Same result. You are right, there is no compiled jSP's under TOMCAT/work/cocoon JSP reader: I used the jsp reader , same result, no JSP generated I get a page not found error in my browser, No exception or error at any of the 3 log files (sitemap, core and error) The following is the listing from sitemap.log -- DEBUG (2002-03-22) 13:57.40:963 [sitemap](/cocoon/jsp/hello.htm) HttpProcessor[8080][4]/sitemap_xmap: Matched wildcard pattern jsp/*.htm DEBUG (2002-03-22) 13:57.40:963 [sitemap](/cocoon/jsp/hello.htm) HttpProcessor[8080][4]/AbstractSitemap: Current Sitemap Parameters: PARAM: '1' VALUE: 'hello' PARAM: '0' VALUE: 'jsp/hello.htm' DEBUG (2002-03-22) 13:57.40:963 [sitemap](/cocoon/jsp/hello.htm) HttpProcessor[8080][4]/sitemap_xmap: Component reader:jsp(Parameters.EMPTY_PARAMETERS) DEBUG (2002-03-22) 13:57.40:963 [sitemap](/cocoon/jsp/hello.htm) HttpProcessor[8080][4]/AbstractSitemap: Substitute evaluated value for 1 as hello DEBUG (2002-03-22) 13:57.40:963 [sitemap](/cocoon/jsp/hello.htm) HttpProcessor[8080][4]/sitemap_xmap: Source= /docs/samples/jsp/hello.jsp DEBUG (2002-03-22) 13:57.40:963 [sitemap](/cocoon/jsp/hello.htm) HttpProcessor[8080][4]/sitemap_xmap: Mime-type= text/html DEBUG (2002-03-22) 13:57.40:963 [sitemap](/cocoon/jsp/hello.htm) HttpProcessor[8080][4]/AbstractSitemap: Substitute evaluated value for 1 as hello DEBUG (2002-03-22) 13:57.43:517 [sitemap](/cocoon/jsp/hello.htm) HttpProcessor[8080][4]/sitemap_xmap: Matched wildcard pattern jsp/*.htm There is no JSP compilation that takes place even for the JSP reader. Old Build: The same Hello.jsp, works with the older build for both jsp reader and Generator. Also there is no jasper-compiler.jar in the WEB-INF/lib of the old Build of Cocoon. Konstantin, does JSP's work for you in the latest build If yes, what version of TomCat are you running My environment is Cocoon (build as of 2 days back) and TomCat 4.0.1. The url to test is (assumption webApp is cocoon and port is 8080) http://localhost:8080/cocoon/jsp/hello for JSP reader: http://localhost:8080/cocoon/jsp/hello.htm Thanks and regds, Chiths accordia, inc 34347 Maybird Circle Fremont, CA 94555 650 279 1137 [EMAIL PROTECTED] The information contained in this communication is intended solely for the use of the individual or entity to whom it is addressed and others authorized to receive it. It may contain confidential or legally privileged information. If you are not the intended recipient you are hereby notified that any disclosure, copying, distribution or taking any action in reliance on the contents of this information is strictly prohibited and may be unlawful. If you have received this communication in error, please notify us immediately by responding to this email and then delete it from your system. Accordia Inc. is neither liable for the proper and incomplete transmission of the information contained in this communication nor for any delay in its receipt -Original Message- From: Piroumian, Konstantin [mailto:[EMAIL PROTECTED]] Sent: Friday, March 22, 2002 1:50 AM To: '[EMAIL PROTECTED]' Subject: RE: [HELP]SAXException JspGenerator.generate() - Using Tom Cat 4.0.1 and latest Cocoon build JDK 1.3.1 -Original Message- From: Chitharanjan Das [mailto:[EMAIL PROTECTED]] Hello Peter, Interestingly there are no errors in the core.log., whatsoever... There are no errors in error.log The only error was in sitemap.log*** Does Cocoon JSP samples work? Try to use JSPReader to see if you get _any_ output from your JSP. Check if your JSP is compiled (see work directory). Did you copy jasper-compiler.jar to cocoon/WEB-INF/lib? JSPEngine won't work without that. Regards, Konstantin Piroumian The contents of hello.jsp are --- %@ page language='java' session='false' % page titleHello/title content paraThis is my first Cocoon2 page!/para /content /page --- I had saved the war file from a previous installation Here is what I did Stopped TomCat 4.0.1 I deleted all the files under TomCat/work for the old cocoon Removed the old war file from TomCat webapp directory Copied the new Cocoon war... Restart Tom Cat. I test SVG creation and text generator examples, everything works. But JSP does not work. I had read somewhere that there will be a new Compiler for JSP's and it would be included in the new release, is this creating the problems. To revert back to the old war (in which JSP works), I do the following... Stop TomCat Delete all the files under TomCat\work for the cocoon context Replace the new Cocoonwar with the old one Restart TomCat Test JSP and other formats, it works... The questions are, Am I missing any steps in configuring the new release.. Have you tested JSP's with the latest Cocoon build (as of yesterday around 7:00
Logger not defined
I am running Cocoon 2.0.2(20020322171928) on JBoss3.0.0beta2(20020322175910) and in my JBoss log I have way to many lines of : 2002-03-22 22:38:15,476 INFO [org.jboss.jetty.Jetty] DEBUG (2002-03-22) 22:38.15:474 [] (/cocoon/documents/doclist.html) SocketListener-0/LogKitLogger: Logger for category core.xslt-processor not defined in configuration. New Logger created and returned 2002-03-22 22:38:15,480 INFO [org.jboss.jetty.Jetty] DEBUG (2002-03-22) 22:38.15:478 [] (/cocoon/documents/doclist.html) SocketListener-0/LogKitLogger: Logger for category core.xslt-processor not defined in configuration. New Logger created and returned 2002-03-22 22:38:15,682 INFO [org.jboss.jetty.Jetty] DEBUG (2002-03-22) 22:38.15:680 [] (/cocoon/documents/doclist.html) SocketListener-0/LogKitLogger: Logger for category core.xslt-processor not defined in configuration. New Logger created and returned 2002-03-22 22:38:15,692 INFO [org.jboss.jetty.Jetty] DEBUG (2002-03-22) 22:38.15:690 [] (/cocoon/documents/doclist.html) SocketListener-0/LogKitLogger: Logger for category core.xslt-processor not defined in configuration. New Logger created and returned 2002-03-22 22:38:15,939 INFO [org.jboss.jetty.Jetty] DEBUG (2002-03-22) 22:38.15:937 [] (/cocoon/documents/doclist.html) SocketListener-0/LogKitLogger: Logger for category core.event-pipeline not defined in configuration. New Logger created and returned 2002-03-22 22:38:15,978 INFO [org.jboss.jetty.Jetty] DEBUG (2002-03-22) 22:38.15:966 [] (/cocoon/documents/doclist.html) SocketListener-0/LogKitLogger: Logger for category core.event-pipeline not defined in configuration. New Logger created and returned 2002-03-22 22:38:15,981 INFO [org.jboss.jetty.Jetty] DEBUG (2002-03-22) 22:38.15:979 [] (/cocoon/documents/doclist.html) SocketListener-0/LogKitLogger: Logger for category core.event-pipeline not defined in configuration. New Logger created and returned We are talking MANY - so what can I do to try and find why ? and how to fix it ? Is this behaving the same on Catalina ? 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: [HELP]SAXException JspGenerator.generate() - Using Tom Cat 4.0.1 and latest Cocoon build JDK 1.3.1
Hello Peter, Thanks a lot for your help... I did not catch your suggestion , both ver 2.0.1 and the latest version has the same entry in cocoon.xconf, it is the one you have listed in your mail. Should I replace this with a new entry ? The JSP files fail to get generated in the new version under /TOMCAT/work/cocoon/ directory at all Thanks in advance, Chiths -Original Message- From: Peter Schwenke [mailto:[EMAIL PROTECTED]] Sent: Thursday, March 21, 2002 11:32 PM To: Chitharanjan Das Subject: RE: [HELP]SAXException JspGenerator.generate() - Using Tom Cat 4.0.1 and latest Cocoon build JDK 1.3.1 Hi Chiths, I haven't played with this, but I see you can set your JSP Engine in cocoon.xconf. !-- JSP Engine: The JspGenerator selects a JSPEngine component. The JSPEngine component launches a JSP servlet engine of your servlet container, feeds the HttpRequest into the JSP servlet engine, and pipes the jsp response as SAX events into Cocoon2. The JSP page is specified by the HttpRequest. This way you can continue to use your JSP pages. Your migration from JSP to XSP may be done step by step. You may specify your JSP pages either as JSP scriptlets or as JSP-XML. But keep in mind that your JSP output should be valid XML. -- jsp-engine logger=core.jsp-engine parameter name=servlet-class value=org.apache.jasper.servlet.JspServlet/ parameter name=servlet-name value=*.jsp/ /jsp-engine I checked the source and this is used by JSPEngineImpl.java. I'm still on Cocoon 2.0.1. You've got me puzzled. ...Peter Chitharanjan Das writes: Hello Peter, Interestingly there are no errors in the core.log., whatsoever... There are no errors in error.log The only error was in sitemap.log*** The contents of hello.jsp are --- %@ page language='java' session='false' % page titleHello/title content paraThis is my first Cocoon2 page!/para /content /page --- I had saved the war file from a previous installation Here is what I did Stopped TomCat 4.0.1 I deleted all the files under TomCat/work for the old cocoon Removed the old war file from TomCat webapp directory Copied the new Cocoon war... Restart Tom Cat. I test SVG creation and text generator examples, everything works. But JSP does not work. I had read somewhere that there will be a new Compiler for JSP's and it would be included in the new release, is this creating the problems. To revert back to the old war (in which JSP works), I do the following... Stop TomCat Delete all the files under TomCat\work for the cocoon context Replace the new Cocoonwar with the old one Restart TomCat Test JSP and other formats, it works... The questions are, Am I missing any steps in configuring the new release.. Have you tested JSP's with the latest Cocoon build (as of yesterday around 7:00 PM Pacific Time). If you have a working war with the latest build, could you mail it to me separately. Thanks and regds, Chiths -Original Message- From: Peter Schwenke [mailto:[EMAIL PROTECTED]] Sent: Thursday, March 21, 2002 7:36 PM To: [EMAIL PROTECTED] Subject: RE: [HELP]SAXException JspGenerator.generate() - Using Tom Cat 4.0.1 and latest Cocoon build JDK 1.3.1 The error is being trapped in JspGenerator for something called by JspGenerator. JspGenerator runs the JSP page and passes whatever output it gets to XML parser. Then the output of that goes to the next thing in the pipeline. The SAX Exception is because it cannot parse the output from your JSP. So either your JSP has not compiled and run correctly or the XML it generates is incorrect. You need to check your cocoon log. On my system this $CATALINA_HOME/cocoon/WEB-INF/logs/core.log.0? ...Peter Chitharanjan Das writes: Hello, The Exception being thrown is Also attached is the function where the exception occurs... Please , we are in midst of our evaluation of Cocoon and this is causing problems in us pitching this solution.. Regds, Chiths DEBUG (2002-03-21) 17:21.31:248 [sitemap.transformer.xslt](/accordiadev/jsp/hello) HttpProcessor[8080][4]/TraxTransformer: Using stylesheet: 'file:/C:/Projects/cocoon/Development/xml-cocoon2/build/cocoon/webapp/st ylesheets/page/simple-page2html.xsl' in org.apache.cocoon.transformation.TraxTransformer@4a3158, last modified: 1016686998673 WARN(2002-03-21) 17:21.32:200 [sitemap](/accordiadev/jsp/hello) HttpProcessor[8080][4]/sitemap_xmap: Error, try to process the error page org.apache.cocoon.ProcessingException: SAXException JspGenerator.generate() at org.apache.cocoon.generation.JspGenerator.generate(JspGenerator.java:132 ) at
RE: Logger not defined
Reduce log level from DEBUG to INFO. See logkit.xconf and web.xml Vadim From: Peter Fagerlund [mailto:[EMAIL PROTECTED]] I am running Cocoon 2.0.2(20020322171928) on JBoss3.0.0beta2(20020322175910) and in my JBoss log I have way to many lines of : 2002-03-22 22:38:15,476 INFO [org.jboss.jetty.Jetty] DEBUG (2002-03-22) 22:38.15:474 [] (/cocoon/documents/doclist.html) SocketListener-0/LogKitLogger: Logger for category core.xslt-processor not defined in configuration. New Logger created and returned 2002-03-22 22:38:15,480 INFO [org.jboss.jetty.Jetty] DEBUG (2002-03-22) 22:38.15:478 [] (/cocoon/documents/doclist.html) SocketListener-0/LogKitLogger: Logger for category core.xslt-processor not defined in configuration. New Logger created and returned 2002-03-22 22:38:15,682 INFO [org.jboss.jetty.Jetty] DEBUG (2002-03-22) 22:38.15:680 [] (/cocoon/documents/doclist.html) SocketListener-0/LogKitLogger: Logger for category core.xslt-processor not defined in configuration. New Logger created and returned 2002-03-22 22:38:15,692 INFO [org.jboss.jetty.Jetty] DEBUG (2002-03-22) 22:38.15:690 [] (/cocoon/documents/doclist.html) SocketListener-0/LogKitLogger: Logger for category core.xslt-processor not defined in configuration. New Logger created and returned 2002-03-22 22:38:15,939 INFO [org.jboss.jetty.Jetty] DEBUG (2002-03-22) 22:38.15:937 [] (/cocoon/documents/doclist.html) SocketListener-0/LogKitLogger: Logger for category core.event-pipeline not defined in configuration. New Logger created and returned 2002-03-22 22:38:15,978 INFO [org.jboss.jetty.Jetty] DEBUG (2002-03-22) 22:38.15:966 [] (/cocoon/documents/doclist.html) SocketListener-0/LogKitLogger: Logger for category core.event-pipeline not defined in configuration. New Logger created and returned 2002-03-22 22:38:15,981 INFO [org.jboss.jetty.Jetty] DEBUG (2002-03-22) 22:38.15:979 [] (/cocoon/documents/doclist.html) SocketListener-0/LogKitLogger: Logger for category core.event-pipeline not defined in configuration. New Logger created and returned We are talking MANY - so what can I do to try and find why ? and how to fix it ? Is this behaving the same on Catalina ? 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]] 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. Regards, Vadim Environment: Tomcat 4.0.1, Cocoon 2.0.1. XSP Page: xsp:page language=java xmlns:xsp=http://apache.org/xsp; root xsp:element name=one/ xsp:element xsp:param name=namexsp:exprtwo/xsp:expr/xsp:param /xsp:element xsp:element name=three uri=http://www.ldodds.com; prefix=lrd/ xsp:element xsp:param name=namexsp:exprfour/xsp:expr/xsp:param xsp:param name=urixsp:exprhttp://www.ldodds.com;/xsp:expr/xsp:param xsp:param name=prefixxsp:exprlrd/xsp:expr/xsp:param /xsp:element /root /xsp:page Pipeline: map:match pattern=*.xsp map:generate type=xsp src={1}.xsp/ map:serialize type=xml/ /map:match Results: root xmlns:xml=http://www.w3.org/XML/1998/namespace; xmlns:xsp=http://apache.org/xsp; one/ two /two lrd:three/ lrd:four /lrd:four /root Note that the namespace prefixes are present, but not the namespace declarations. Also note that the xml namespace is declared (which IE complains about, probably correctly) If I alter the pipeline to include a stylesheet that performs an identity transformation (copies input to output) I get the expected document. Any ideas? Is this a bug? Cheers, L. -- Leigh Dodds, Research Group, Ingenta | Pluralitas non est ponenda http://weblogs.userland.com/eclectic |sine necessitate http://www.xml.com/pub/xmldeviant| -- William of Ockham - 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]