xml - How to XSD-Validating single fields on setting them using moxy -


in this fine post learned how validate xml using moxy. problem validation comes @ last , there many failures due invalid parameters given setter methods. there way validate each setter (model based). if set 1 value value validated against constraints. @ time of each set call - complete model may invalidate hell want validation info current set call. in case want throw illegalargumentexception if passes illegal (by xsd constraint) parameter 1 of setters (all setters wrapped interface).


Comments

Popular posts from this blog

c# - DetailsView in ASP.Net - How to add another column on the side/add a control in each row? -

javascript - firefox memory leak -

Trying to import CSV file to a SQL Server database using asp.net and c# - can't find what I'm missing -