Validation « jaxb « Java Enterprise Q&A

1. What to use instead validator in jaxb 2.0

JAXB version 1 spec have a Validator object, in version 2 Validator object was depricated and optional. What i need to use instead Validator object? Thanks!

2. JAXB 2.0 Validator

3. JAXB Custom Validation Handler is not receiving control during Exception

Hi, I am getting NumberFormatException during JAXB Unmarshal. The exception does not provide line number or the field which is having the incorrect value. I tried to create my own validation handler. But when the exception happens, the control is not coming into my custom validation handler. I am using JAXB 2.0. By manual verification, I later found that this is ...