diff --git a/spring-framework-reference/src/new-in-3.xml b/spring-framework-reference/src/new-in-3.xml
index af1ba110f5..63cfe828f1 100644
--- a/spring-framework-reference/src/new-in-3.xml
+++ b/spring-framework-reference/src/new-in-3.xml
@@ -386,7 +386,7 @@ public class AppConfig {
General purpose type conversion system and field formatting
system
- A general purpose type conversion
+ A general purpose type conversion
system has been introduced. The system is currently used by SpEL
for type conversion, and may also be used by a Spring Container and DataBinder when
binding bean property values.
@@ -456,7 +456,7 @@ public class AppConfig {
Declarative model validation
- Several validation enhancements,
+ Several validation enhancements,
including JSR 303 support that uses Hibernate Validator as the default provider.
diff --git a/spring-framework-reference/src/validation.xml b/spring-framework-reference/src/validation.xml
index 50b9f9514d..dd9772d5d4 100644
--- a/spring-framework-reference/src/validation.xml
+++ b/spring-framework-reference/src/validation.xml
@@ -750,7 +750,7 @@ public final class CustomPropertyEditorRegistrar implements PropertyEditorRegist
-
+ Spring 3 Type Conversion
Spring 3 introduces a core.convert package that provides a general type conversion system.
@@ -983,7 +983,7 @@ public class MyService {
Spring 3 Field Formatting
- As discussed in the previous section, core.convert is a general-purpose type conversion system.
+ As discussed in the previous section, core.convert is a general-purpose type conversion system.
It provides a unified ConversionService API as well as a strongly-typed Converter SPI for implementing conversion logic from one type to another.
A Spring Container uses this system to bind bean property values.
In addition, both the Spring Expression Language (SpEL) and DataBinder use this system to bind field values.
@@ -1152,7 +1152,7 @@ public class MyModel {
}]]>
-
+ Format Annotation API
A portable format annotation API exists in the org.springframework.format.annotation package.
@@ -1259,7 +1259,7 @@ public interface FormatterRegistry {
-
+ Spring 3 Validation
Spring 3 introduces several enhancements to its validation support.
@@ -1267,7 +1267,7 @@ public interface FormatterRegistry {
Second, when used programatically, Spring's DataBinder can now validate objects as well as bind to them.
Third, Spring MVC now has support for declaratively validating @Controller inputs.
-
+ Overview of the JSR-303 Bean Validation API
JSR-303 standardizes validation constraint declaration and metadata for the Java platform.
@@ -1306,7 +1306,7 @@ public class PersonForm {
To learn how to setup a JSR-303 implementation as a Spring bean, keep reading.
-
+ Configuring a Bean Validation Implementation
Spring provides full support for the JSR-303 Bean Validation API.
@@ -1323,7 +1323,7 @@ public class PersonForm {
The basic configuration above will trigger JSR-303 to initialize using its default bootstrap mechanism.
A JSR-303 provider, such as Hibernate Validator, is expected to be present in the classpath and will be detected automatically.
-
+ Injecting a ValidatorLocalValidatorFactoryBean implements both javax.validation.Validator and org.springframework.validation.Validator.
@@ -1355,7 +1355,7 @@ public class MyService {
}]]>
-
+ Configuring Custom Constraints
Each JSR-303 validation constraint consists of two parts.
@@ -1391,7 +1391,7 @@ public class MyConstraintValidator implements ConstraintValidator {
As you can see, a ConstraintValidator implementation may have its dependencies @Autowired like any other Spring bean.
-
+ Additional Configuration Options
The default LocalValidatorFactoryBean configuration should prove sufficient for most cases.
@@ -1400,7 +1400,7 @@ public class MyConstraintValidator implements ConstraintValidator {
-
+ Configuring a DataBinder
Since Spring 3, a DataBinder instance can be configured with a Validator.
@@ -1424,13 +1424,13 @@ binder.validate();
BindingResult results = binder.getBindingResult();
-
+ Spring MVC 3 Validation
Beginning with Spring 3, Spring MVC has the ability to automatically validate @Controller inputs.
In previous versions it was up to the developer to manually invoke validation logic.
-
+ Triggering @Controller Input Validation
To trigger validation of a @Controller input, simply annotate the input argument as @Valid:
@@ -1450,7 +1450,7 @@ public class MyController {
-
+ Configuring a Validator for use by Spring MVC
The Validator instance invoked when a @Valid method argument is encountered may be configured in two ways.
@@ -1492,7 +1492,7 @@ public class MyController {
]]>
-
+ Configuring a JSR-303 Validator for use by Spring MVC
With JSR-303, a single javax.validation.Validator instance typically validates all model objects that declare validation constraints.
diff --git a/spring-framework-reference/styles/html/custom.xsl b/spring-framework-reference/styles/html/custom.xsl
index 1786089c5d..5dc83f71ba 100644
--- a/spring-framework-reference/styles/html/custom.xsl
+++ b/spring-framework-reference/styles/html/custom.xsl
@@ -28,7 +28,6 @@
101
-
images/
@@ -46,6 +45,7 @@
text-align: left
+