Creating Custom XML Validator with Design Support

Topics: Validation Application Block
Aug 5, 2011 at 10:57 PM


We have a requirement to create a custom provider to validate the given XML based on provided XSD. It will need to have a design time support where I can specify the XSD URL/location.


Could anyone please guide me whether above is possible and how?



Aug 6, 2011 at 11:20 PM

Not sure if anyone has implemented the custom provider to validate XML based on given XSD.

Aug 8, 2011 at 9:07 AM


You can refer to the Entlib Source Code (Validation Application Block Solution) on how the design time integration is done. Basically, you need 3 class for this: the actual Validator class, the ValidatorAttribute class and the ValidatorData class. Regarding with XML validation against XSD, there are alot of implementation found on web like this one. Hope this helps.


Noel Angelo Bolasoc
Global Technologies and Solutions
Avanade, Inc.
Contact Us

Aug 11, 2011 at 12:08 PM