Huib, I have to follow up your solution to my problem: your solution to call,
<dependency> > <groupId>org.apache.cocoon</groupId> > <artifactId>cocoon-validation-impl</artifactId> > <version>1.0.0-SNAPSHOT</version> > </dependency> .. worked fine for a few days, and over a number of builds. Then suddenly maven said it could not locate the validation impl snapshot. The validation impl is in my local repo @ ~/.m2, but it is still not building. I have been trying different repos, editing maven's settings.xml file, flushing the local repo, but to no avail. Are you pulling the dependency from the default repo, http://repo2.maven.org/maven2/? Do you specify another repo for it anywhere? Thanks, - Myles FIMM, Helsinki On Sat, Feb 19, 2011 at 3:55 PM, Huib Verweij <huib.ver...@mpi.nl> wrote: > > > > Hi all, > > > > > > Has anyone got the old 2.1 (schema, not form) Validation block working > in > > > 2.2? > > > > I am using the validation transformer in 2.2, I can't remember me doing > > anything special for it, I have this in my Spring application context: > > > > > > <bean name="org.apache.cocoon.transformation.Transformer/validate" > > class="org.apache.cocoon.transformation.ValidatingTransformer" > > scope="prototype" /> > > > > and this in my sitemap: > > > > <map:transform type="validate" src="startLetterSearch.xsd"/> > > > > and this in the pom.xml: > > > > > > <dependency> > > <groupId>org.apache.cocoon</groupId> > > <artifactId>cocoon-validation-impl</artifactId> > > <version>1.0.0-SNAPSHOT</version> > > </dependency> > > > > It does the trick. > > > > Huib. > > > > > > > > -- > > Drs. Huib Verweij > > Senior software developer - The Language Archive > > Max Planck Institute for Psycholinguistics > > P.O. Box 310 > > 6500 AH Nijmegen > > The Netherlands > > t +31-24-3521911 > > e huib.ver...@mpi.nl > > w http://www.mpi.nl/ > > > > > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@cocoon.apache.org > For additional commands, e-mail: users-h...@cocoon.apache.org >