[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 06:35:19 EST 2008


I think, you should use [ code ] [ /code ] tags for XML.

This is not the strictness that is supposed to be enforced by strictSchema.
It's a bit confusing. This is XML validation issue. And is supposed to be the responsibility of the XML parser. Although, XB validates model groups (order of elements) to some extent.

StrictSchema would affect unmarshalling if for example XbGarbageRoot didn't have name property and the name attribute was present in the XML.

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

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



More information about the jboss-dev-forums mailing list