Validating while unmarshalling twins and dating

On Thu, Jul 3, 2008 at PM, Paul Sandoz I'm using Jersey 0.7 and have a number of methods that accept objects unmarshalled from XML via JAXB bindings.

It does not appear that the unmarshalling process is validating the XML against the schema used to create the JAXB bindings.

Abstract Container Entity(Abstract Container [stack trace truncated] Am I on the right track here?Rather than creating a general validating mechanism it might be better to have a general mechanism you inherit from for specific validating purposes i.e. Our Validation Event Collector throws an unchecked exception (JAXBParser Exception) which we then handle with Exception Mapper. Hi Andrew, Validating is indeed deprecated and you need to set the Schema object to validate against.In this respect i am unsure how you can create a general validating mechanism unless you keep a map of known JAXB class to Schema instance.Like I said before, Sugar Daddery is not for everyone, but it can work if you do it right.Both are designed to connect men of certain means to women who have an appreciation for the finer things in life.

Search for validating while unmarshalling:

validating while unmarshalling-39validating while unmarshalling-49validating while unmarshalling-62

Leave a Reply

Your email address will not be published. Required fields are marked *

One thought on “validating while unmarshalling”