Hi,
(from the JAXB API javadoc as shipped with JAXB 2)
On-Demand Validation
"This form of validation enables a client application to receive information
about
validation errors and warnings detected in the Java content tree. At any
point, client
applications can call the Validator.validate method on the Java content tree
(or any
sub-tree of it). All JAXB Providers are required to support this operation."
However: Validator.validate is deprecated and throws an exception!
How can this be done with JAXB 2?
Btw. There is a project for istack-commons.jar at dev.java.net, but no
download link. Any idea?
Have fun,
Klaus
--
View this message in context: http://www.nabble.com/JAXB2-on-demand-validation-t1271066.html#a3373617
Sent from the java.net - jaxb users forum at Nabble.com.