Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Validating
Message
From
16/09/2003 07:20:02
 
 
To
All
General information
Forum:
ASP.NET
Category:
XML
Title:
Validating
Miscellaneous
Thread ID:
00829291
Message ID:
00829291
Views:
60
I am having difficulties getting the xml to validate against the schema. The problem is no matter what I do to the xml, it does trigger the error.

Dim r As New XmlTextReader("XmlFile.xml")
Dim v As New XmlValidatingReader(r)
v.ValidationType = ValidationType.Schema
AddHandler v.ValidationEventHandler, AddressOf ValidationCallBack
While r.Read()
End While
r.Close()
Next
Reply
Map
View

Click here to load this message in the networking platform