JAXB doesn't throw validation errors on invalid values
Issue
I have a JAX-WS endpoint, and when a request comes in that has invalid data for e.g. a date, JAXB will not throw a validation error but will either set the value to null or to a default value. Shouldn't it throw a validation error?
Environment
- JBoss Enterprise Application Platform (EAP)
- 4.3
- 5.x
- 6.x
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.