[jboss-dev-forums] [Design of JBossXB] - Re: How to force strict validation?

alex.loubyansky@jboss.com do-not-reply at jboss.com
Wed Feb 27 16:16:21 EST 2008


You should be able to configure the underlying xml parser to validate the xml. There are methods in the Unmarshaller to do that: setValidation() and setFeature(). In addition you should make sure that the XML schema can be resolved by the xml parser, so it knows what to validate against.

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4132652#4132652

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4132652



More information about the jboss-dev-forums mailing list