cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Myles Byrne <>
Subject ValidationReportTransformer in 2.2?
Date Thu, 17 Feb 2011 14:11:13 GMT
Hi all,

Has anyone got the old 2.1 (schema, not form) Validation block working in
2.2?  I see in the 2.1 samples that cocoon-validation-impl was included as a
module, but my attempts to incorporate this in a 2.2 project have so far
failed. I would think cocoon-validation-impl would be covered by
my cocoon-validation dependency, below, but this produces the error (also
below). Any clues?

- Myles Byrne, Helsinki


My sitemap:

    <map:transformer name="validation-report" src="


  <map:match pattern="val_sch">
<map:match type="request-parameter" pattern="url">
     <map:generate src="{1}"/>
      <map:transform type="validation-report" src="lsdb.rng"
label="raw-report" />
    <map:serialize type="html"/>

but then:

javax.servlet.ServletException: org.apache.cocoon.ProcessingException:
Failed to process pipeline
 at <map:serialize type="html"> -
Caused by: org.springframework.beans.factory.BeanCreationException: Error
creating bean with name
Initialization of bean failed; nested exception is
org.springframework.beans.factory.BeanCreationException: Unable to
initialize Avalon component with role
org.apache.cocoon.transformation.Transformer/validation-reportPooled; nested
exception is org.apache.avalon.framework.service.ServiceException: Component
with 'org.apache.cocoon.components.validation.Validator' is not defined in
this service manager. (Key='AvalonServiceManager')

View raw message