whether it is really a bug or just a mistake of mine?
It's a bug. The class verification failed. Please try to use a literal String for the ROLE. It would also be great if you could try cocoon-trunk and report back.
Thanks for reporting!
cheers -- Torsten
