XS:Pattern validation

Aug 4, 2010 at 8:45 AM
Edited Aug 5, 2010 at 9:21 AM

Hi,

I have an xsd which has the following xs:pattern "[\s]*[\S][\s\S]*". This pattern is used to for non empty string validation.

LinqToXSD throws a warning in Visual Studio if a value isn't valid according to the pattern and i would really like that to be an error instead of a warning.

 

Is there any way how i can achieve this ?

 

Kind regards,

Marco