Why the DTD validation is on ?
Hi all, My xsl starts: ]> http://www.w3.org/1999/XSL/Transform"; xmlns:i18n="http://apache.org/cocoon/i18n/2.0"; xmlns:cinclude="http://apache.org/cocoon/include/1.0"; xmlns:i2="http://www.bull.com.pl/i2";> is catalina.out there are plenty of: [Error] Mtd_rep_common.xsl:18:43: Element type "xsl:stylesheet" must be declared in cocoon.xconf jaxpparser is set with validate false. So why such messages (it slows down!) ? Thanks Tom - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
request: or random: or any other InputModule doesn't work
Hi all, My sitemap is: And cocoon.xconf (filtered): and I call: /test?par1=test123 None of the input is processed and the result is test.html. Don't know real syntax of random and URI but at least 'request' should work. (Cocoon 2.0.3, original configuration from distribution). What is wrong? Tomasz - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[Help] redirect to different ulrs depending on the url parameter value
Hi all, I have ulr: www.host/generalpage?addinfo=x¶m1=a¶m2=b and want to redirect to different matchers defending on addinfo value. So my idea is the request param selector: !!!call matcher pageA !!!call matcher pageB !!!call matcher pageC But I cannot find a way to call another matcher. map:call needs resource not the matcher. map:redirect-to works but forget about parameters. So how to do it with map:selector? Or how to do it at all? (Cocoon 2.0.3) Tomasz Bech - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [Help] redirect to different ulrs depending on the url parameter value
Hmm, it is really pity that there is no way to make redirect-to with parameters - would solve a lot of problems (not only mine - it is frequently asked question). And why map:call cannot forward to another matcher? In fact I want to do it really clean, I have one general matcher: which handles over 50 pages. 6 of them I have to do through request param selector - of course I could copy the content of that general matcher in every map:when place, but it is not the right way of programming :( - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: i18n problem
i18n is designed to translate the text, not html tags/logic, etc. You repeat the 'link href' both in xsl and message.xml, which looks suspisous at first glance and obviously is an error or bad coding. Just make more transalation: Click Click to view or params. However your template for 'link' has to be changed as well. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: i18n: how to override locale date format?
It uses DateFormat.getDateInstance(style, locale). How Java handles the locale don't know, but it hadles it correctly: According to Polish rules it should be (and IS) -MM-dd. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]