Why doesn't AndCompositeValidator set NestedValidationResults property?

Topics: Validation Application Block
Nov 1, 2009 at 7:46 AM
Edited Nov 1, 2009 at 11:32 PM


Why doesn't AndCompositeValidator set NestedValidationResults property of ValidationResult when its validation fails?
Since OrCompositeValidator sets NestedValidationResults property, it seems more natural that AndCompositeValidator does so too.

I want to know the reason of current design.

Nov 3, 2009 at 4:56 AM


We'll ask the ent lib team for this design question.

Valiant Dudan
Global Technology and Solutions
Avanade, Inc.

Dec 17, 2009 at 9:12 PM


This sounds like a bug. Can you please post a small project that reproduces the bug under Issue Tracker so that we could debug?



Feb 13, 2010 at 8:13 AM
Edited Feb 13, 2010 at 8:49 AM

Hi Grigori,

Thank you for replying. And I'm sorry for being not able to reply.

I've made a small project you want and posted it to the following URL:


Could you please examine it?

By the way, this issue seems not to be a bug. This behavior of AndCompositeValidator is too obvious to say it is a bug.

Best Regards,

Atsushi Kanbara