Programmers Area - Visual Basic(Microsoft) -VB.NET Forum
subgoat (Programmer)0 replies12 May 06 (12 May 06)
Using .Net to validate XML using XSD problem
Hi all,
I have a nice little app doing this, and it works really well to pick out bad tags, but the problem I have is that it isn't identifying missing values where the XSD tag definition has the Nillable property set to false. I am right in thinking that empty values in such tags within the XML should be picked out by the validator? Any help on this would be really appreciated.
Should it also pick out differences in the order of tags?
The other niggle with it is that the .Net validating reader throws an exception at the very first problem with the XML. Is it possible to get it to run through the whole document so that I can list all the problems with the XML document in one go?
Regards, Ian
subgoat (Programmer)0 replies12 May 06 (12 May 06)
Using .Net to validate XML using XSD problem
Hi all,
I have a nice little app doing this, and it works really well to pick out bad tags, but the problem I have is that it isn't identifying missing values where the XSD tag definition has the Nillable property set to false. I am right in thinking that empty values in such tags within the XML should be picked out by the validator? Any help on this would be really appreciated.
Should it also pick out differences in the order of tags?
The other niggle with it is that the .Net validating reader throws an exception at the very first problem with the XML. Is it possible to get it to run through the whole document so that I can list all the problems with the XML document in one go?
Regards, Ian