Skip to content

JSR-303 example in the current documentation [SPR-6517] #11183

Closed
@spring-projects-issues

Description

@spring-projects-issues

Carlos Vara opened SPR-6517 and commented

In section 5.7.1 of the current documentation (Overview of the JSR-303 Bean Validation API), the example annotates a string field with @Max(64). As far as I know, that annotation is intended for numerals and not strings.

Tested it and fails to validate with Hibernate Validator (at least if the expected effect is that the string size is less than 64).


Affects: 3.0 RC2

Referenced from: commits 12892ee

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions