Login or sign up Lost password?
Login or sign up
Xml Exception" if they enter a non-XML file, a valid XML file results in no exception even though the schema may be completely incorrect (if they enter some random XML file on the system that is). I just want to validate an ".xml" file but apparently I have to become an XML expert to do it. Interesting, I can't remember ever having to do the "Xml Schema Validation Flags. The method I use, which is almost definately slower given it doesn't use a reader, or if it does it's internal, is Xml Document. My testing shows that a conforming ".xml" file generates no warnings however so I'll have to assume that any warning is really an you normally install its ".xsd" file for this purpose, assuming you don't need it for anything else.