i tried to do that but it didn't worked that well, the thing is, like you
have probably noticed i'm kind of newbie in cocoon, so i started this
project from a sample "chello" that used cocoon 2.0rc2.
Now, trying to upgrade to 2.0.4 i kind of messed up things a little :P

I thought that it would be ehough to copy the cocoon.jar that is generated
from the build dir of the src of cocon2.0.4 but it seems (my recente
experience - today :) ) that this isn't that linear..

So if you could tell me or direct me to some papers or how-to's that talk
about upgrading to diferent versions of cocoon it would be great...

Thanks
Miguel Carvalho

-----Original Message-----
From: Bruno Dumon [mailto:[EMAIL PROTECTED]
Sent: quarta-feira, 6 de Agosto de 2003 19:04
To: [EMAIL PROTECTED]
Subject: RE: problem creating a new transformer


On Wed, 2003-08-06 at 19:11, Miguel Carvalho wrote:
> <I see you're still using the compiled sitemap engine (which is indeed
> <the default in 2.0.4). Do yourself a favor and change it to the
> <interpreted engine, Cocoon's startup time will then be much faster (this
> <can be changed in the cocoon.xconf file).
>
> ok, and can you give me a hand in doing this!! :( I tried to copy the
> sitemap.xmap, cocoon.xconf and web.xml from the cocoon 2.0.4 to my project
> and it didn't worked. I also copied all the libs plus the
cocoon-scratchpad
> and added it to my classpath and still no good... :( but there are backups
> :)
>
> Could you tell me the steps that i have to go, so i can pass to the
> iterpreted engine?

it's only a change to the cocoon.xconf: comment out the following lines:

  <sitemap class="org.apache.cocoon.sitemap.SitemapManager"
           file="sitemap.xmap" reload-method="synchron"
check-reload="yes" logger="sitemap"/>

and enable the following line:
<!-- sitemap logger="sitemap"/ -->
thus change it to:
<sitemap logger="sitemap"/>



However, this will not help you with your transformer problem.

I've had a quick look at the code you sent earlier, and the problem
might be with your endElement calls, currently they are like:

super.endElement(NAMESPACE, ARTICLE_ELEMENT, "");

but you should provide a value for the qName, and your code would be
easier to read if you just pass on the values you get as arguments:

super.endElement(namespaceURI, localName, qName);

--
Bruno Dumon                             http://outerthought.org/
Outerthought - Open Source, Java & XML Competence Support Center
[EMAIL PROTECTED]                          [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to