Skip to content

Documentation: XSD specifies incorrect type for RetryPolicy [BATCH-2845] #769

Closed
@spring-projects-issues

Description

@spring-projects-issues

abracadv8 opened BATCH-2845 and commented

The spring-batch-3.0.xsd specifies the old RetryPolicy class, which was removed/refactored when the SpringRetry project was created.

Type: <tool:expected-type type="org.springframework.batch.retry.RetryPolicy" />

I believe it should be org.springframework.retry.RetryPolicy

Git: https://github.com/spring-projects/spring-batch/blob/master/spring-batch-core/src/main/resources/org/springframework/batch/core/configuration/xml/spring-batch-3.0.xsd#L934  

 

It's a minor issue which causes no functional issues other than my IDE (Intellij) highlights the attribute as a validation warning because type is unexpected.

I could submit a quick PR if welcome.


Referenced from: commits 4ad06b5, edc682a, 7860544, caa19d2

Backported to: 4.3.0.M1, 4.2.1, 4.1.3, 4.0.4

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions