Spring Schema validation, part 1

Rod Widdowson rdw at steadingsoftware.com
Mon Aug 5 09:07:58 EDT 2013


I have just checked in (as r4652 and r4653) the tedious part of the changes
needed to make spring default to schema validation.  It actually took less
time that I had imagined - it was mostly a matter of pasting in the schema
location hints into the test files and supressing validation for those tests
where the input has to be schema invalid.

I found and noted in case https://issues.shibboleth.net/jira/browse/IDP-296
a few resulting issues.

Despite my concerns on Friday, there are almost no places where defaulting
is used (the almost exception of a "fixed" attribute type for template
attribute definition).  However there are a few places where I believe that
the schema needs examined and changed.  I'd rather not be the one to that
since I am very much an XSD neophyte, getting this right is absolutely
critical, and there are others in the team with better skills than I.

We may want to have a conversation about the changes needed, but I do not
think so (the need seems pretty obvious to me).

Can someone with XSD skills, pick up this case and comment on it.  If there
is grunt work needed as a result of that I'll happily do it.

Thanks

Rod



More information about the dev mailing list