How, why, when and where... creating a schema out of my jaxb annotated classes
- by ekeren
I have jaxb annotated classes and I want to unmarshal them and use the setSchema for validation.
I have a two questions:
Do I have to create the schema at "build time" using ant or can I just ad-hock create them for validation when needed.
Where do you put your schema files?
is there another reason but validation to create a schema if I prefer writing my class first?