Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Validating XML document against XSD using .Net

Status
Not open for further replies.

subgoat

Programmer
Sep 23, 2005
39
GB
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

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top