diff --git a/src/site/docbook/reference/step.xml b/src/site/docbook/reference/step.xml
index cd2b8d9fb..5a392bdc4 100644
--- a/src/site/docbook/reference/step.xml
+++ b/src/site/docbook/reference/step.xml
@@ -474,14 +474,14 @@ itemWriter.write(items);
information, then there probably won't be issues. Usually these bad
records are logged as well, which will be covered later when discussing
listeners.<step id="step1">
- <tasklet>
- <chunk reader="flatFileItemReader" writer="itemWriter"
- commit-interval="10" skip-limit="10">
- <skippable-exception-classes>
- <include class="org.springframework.batch.item.file.FlatFileParseException"/>
- </skippable-exception-classes>
- </chunk>
- </tasklet>
+ <tasklet>
+ <chunk reader="flatFileItemReader" writer="itemWriter"
+ commit-interval="10" skip-limit="10">
+ <skippable-exception-classes>
+ <include class="org.springframework.batch.item.file.FlatFileParseException"/>
+ </skippable-exception-classes>
+ </chunk>
+ </tasklet>
</step>
In this example, a FlatFileItemReader is
@@ -516,7 +516,7 @@ itemWriter.write(items);
refines the list of skippable exception classes to be all
Exceptions except
FileNotFoundException. Any excluded exception
- calsses will be fatal if encountered (i.e. not skipped).
+ calsses will be fatal if encountered (i.e. not skipped).
For any exception encountered, the skippability will be determined
by the nearest superclass in the class hierarchy. Any unclassifed
@@ -540,14 +540,14 @@ itemWriter.write(items);
success. In this case, retry should be configured:
<step id="step1">
- <tasklet>
- <chunk reader="itemReader" writer="itemWriter"
- commit-interval="2" retry-limit="3">
- <retryable-exception-classes>
- <include class="org.springframework.dao.DeadlockLoserDataAccessException"/>
- </retryable-exception-classes>
- </chunk>
- </tasklet>
+ <tasklet>
+ <chunk reader="itemReader" writer="itemWriter"
+ commit-interval="2" retry-limit="3">
+ <retryable-exception-classes>
+ <include class="org.springframework.dao.DeadlockLoserDataAccessException"/>
+ </retryable-exception-classes>
+ </chunk>
+ </tasklet>
</step>
The Step allows a limit for the number of
@@ -571,12 +571,12 @@ itemWriter.write(items);
exceptions that should not cause rollback.
<step id="step1">
- <tasklet>
- <chunk reader="itemReader" writer="itemWriter" commit-interval="2"/>
- <no-rollback-exception-classes>
- <include class="org.springframework.batch.item.validator.ValidationException"/>
- </no-rollback-exception-classes>
- </tasklet>
+ <tasklet>
+ <chunk reader="itemReader" writer="itemWriter" commit-interval="2"/>
+ <no-rollback-exception-classes>
+ <include class="org.springframework.batch.item.validator.ValidationException"/>
+ </no-rollback-exception-classes>
+ </tasklet>
</step>