diff --git a/spring-framework-reference/src/validation.xml b/spring-framework-reference/src/validation.xml
index b76eded94b..98acf8f27e 100644
--- a/spring-framework-reference/src/validation.xml
+++ b/spring-framework-reference/src/validation.xml
@@ -1323,7 +1323,7 @@ public class MyService {
This allows your custom ConstraintValidators to benefit from dependency injection like any other Spring bean.
- Shown below is an example of a custom Constraint declaration, followed by an associated ConstraintValidator
implementation that uses Spring for dependency injection:
+ Shown below is an example of a custom @Constraint declaration, followed by an associated ConstraintValidator
implementation that uses Spring for dependency injection:
Configuring a DataBinder
- Since Spring 3, a DataBinder instance can now be configured with a Validator.
+ Since Spring 3, a DataBinder instance can be configured with a Validator.
Once configured, the Validator may be invoked by calling binder.validate()
.
Any validation Errors are automatically added to the binder's BindingResults.